Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00002" 25s
When I go to "Abstraction Validation" section in PA app 4s
Then I verify for the section, message is present or not 0s
Then I click on "Arms" link 2s
And I add an arm 5s
Then I click on "Abstraction Validation" link 3s
Then I verify for the section, message is present or not 0s
Then I click on "Arms" link 1s
And I edit armtype as 'No intervention' 4s
Then I click on "Abstraction Validation" link 3s
Then I verify for the section, message is present or not 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02845" 5s
When I go to "Abstraction Validation" section in PA app 4s
Then I verify for the section, message is present or not 2s
Then I click on "Groups/Cohorts" link 1s
And I add a Group with Label "test1" and Description "Group1 description" 3s
Then I click on "Abstraction Validation" link 2s
Then I verify for the section, message is present or not 1s
Then I click on "Groups/Cohorts" link 1s
And I delete all Groups 1s
Then I click on "Interventions" link 1s
And I add an intervention with Type as "Drug" Name as "Barium Sulfate" and description as "test" 7s
Then I click on "Abstraction Validation" link 2s
Then I verify for the section, message is present or not 2s
Then I click on "Groups/Cohorts" link 1s
And I add a Group with Label "test1" and Description "Group1 description" 3s
Then I click on "Abstraction Validation" link 1s
Then I verify for the section, message is present or not 1s
Then I click on "Groups/Cohorts" link 1s
And I associate the Group "1" to Intervention "1" 3s
Then I click on "Abstraction Validation" link 2s
Then I verify for the section, message is present or not 1s
Then I click on "Interventions" link 2s
And I add an intervention with Type as "Drug" Name as "Liver Transplantation" and description as "test2" 7s
Then I click on "Abstraction Validation" link 3s
Then I verify for the section, message is present or not 3s
Then I click on "Groups/Cohorts" link 3s
And I associate the Group "1" to Intervention "2" 5s
Then I click on "Abstraction Validation" link 4s
Then I verify for the section, message is present or not 2s
Then I click on "Groups/Cohorts" link 3s
And I add a Group with Label "test2" and Description "Group2 description" 7s
Then I click on "Abstraction Validation" link 3s
Then I verify for the section, message is present or not 3s
Then I click on "Groups/Cohorts" link 2s
And I associate the Group "2" to Intervention "2" 4s
Then I click on "Abstraction Validation" link 4s
Then I verify for the section, message is present or not 2s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02844" 7s
When I go to "Abstraction Validation" section in PA app 6s
Then I verify for the section, message is present or not 0s + Show Error
validating Abstraction message for message No Groups/Cohorts exists for the trial. Select Groups/Cohorts from Non-Interventional Trial Design under Scientific Data menu.
("Data inconsistency. Review Board Approval Status cannot be 'Not required' for an interventional study that is recruiting patients Select a different review board status\nTrial status transition warnings were found. Select Trial Status from Administrative Data menu, then click History.\nWarning: There are no interventions in this study. Select Interventions from Scientific Data menu.") was expected to include
("No Groups/Cohorts exists for the trial. Select Groups/Cohorts from Non-Interventional Trial Design under Scientific Data menu."). (Test::Unit::AssertionFailedError)
./features/support/pa/abstraction_validation.rb:33:in `check_abstraction_message'
./features/step_definitions/abstraction_validation.rb:54:in `block (2 levels) in (top (required))'
./features/step_definitions/abstraction_validation.rb:52:in `each'
./features/step_definitions/abstraction_validation.rb:52:in `/^I verify for the section, message is present or not$/'
features/pa/ui/abstraction_validation.feature:181:in `Then I verify for the section, message is present or not'
features/pa/ui/abstraction_validation.feature:72:in `Then I verify for the section, message is present or not'
Then I click on "Groups/Cohorts" link
And I add a Group with Label "test1" and Description "Group1 description"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Then I click on "Groups/Cohorts" link
And I delete all Groups
Then I click on "Interventions" link
And I add an intervention with Type as "Drug" Name as "Barium Sulfate" and description as "test"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Then I click on "Groups/Cohorts" link
And I add a Group with Label "test1" and Description "Group1 description"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Then I click on "Groups/Cohorts" link
And I associate the Group "1" to Intervention "1"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Then I click on "Interventions" link
And I add an intervention with Type as "Drug" Name as "Liver Transplantation" and description as "test2"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Then I click on "Groups/Cohorts" link
And I associate the Group "1" to Intervention "2"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Then I click on "Groups/Cohorts" link
And I add a Group with Label "test2" and Description "Group2 description"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Then I click on "Groups/Cohorts" link
And I associate the Group "2" to Intervention "2"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02846" 5s
When I go to "Abstraction Validation" section in PA app 5s
Then I verify for the section, message is present or not 3s
Then I click on "Groups/Cohorts" link 3s
And I add a Group with Label "test1" and Description "Group1 description" 4s
Then I click on "Abstraction Validation" link 2s
Then I verify for the section, message is present or not 1s
Then I click on "Groups/Cohorts" link 1s
And I delete all Groups 1s
Then I click on "Interventions" link 2s
And I add an intervention with Type as "Drug" Name as "Barium Sulfate" and description as "test" 6s
Then I click on "Abstraction Validation" link 3s
Then I verify for the section, message is present or not 2s
Then I click on "Groups/Cohorts" link 3s
And I add a Group with Label "test1" and Description "Group1 description" 3s
Then I click on "Abstraction Validation" link 2s
Then I verify for the section, message is present or not 1s
Then I click on "Groups/Cohorts" link 2s
And I associate the Group "1" to Intervention "1" 4s
Then I click on "Abstraction Validation" link 2s
Then I verify for the section, message is present or not 2s
Then I click on "Interventions" link 2s
And I add an intervention with Type as "Drug" Name as "Liver Transplantation" and description as "test2" 9s
Then I click on "Abstraction Validation" link 3s
Then I verify for the section, message is present or not 2s
Then I click on "Groups/Cohorts" link 2s
And I associate the Group "1" to Intervention "2" 5s
Then I click on "Abstraction Validation" link 2s
Then I verify for the section, message is present or not 2s
Then I click on "Groups/Cohorts" link 2s
And I add a Group with Label "test2" and Description "Group2 description" 4s
Then I click on "Abstraction Validation" link 3s
Then I verify for the section, message is present or not 2s
Then I click on "Groups/Cohorts" link 2s
And I associate the Group "2" to Intervention "2" 4s
Then I click on "Abstraction Validation" link 3s
Then I verify for the section, message is present or not 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02870" 5s
When I go to "Abstraction Validation" section in PA app 5s
Then I verify for the section, message is present or not 6s + Show Error
Unable to locate element: {"method":"xpath","selector":"//*[@id='row'][3]/tbody"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180511-22469-lul1ww/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180511-22469-lul1ww/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:275:in `get_element_text'
./features/support/pa/abstraction_validation.rb:30:in `check_abstraction_message'
./features/step_definitions/abstraction_validation.rb:54:in `block (2 levels) in (top (required))'
./features/step_definitions/abstraction_validation.rb:52:in `each'
./features/step_definitions/abstraction_validation.rb:52:in `/^I verify for the section, message is present or not$/'
features/pa/ui/abstraction_validation.feature:315:in `Then I verify for the section, message is present or not'
Then I click on "Design Details" link
And I update the Number of Groups/Cohorts to "2"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Then I click on "Interventions" link
And I add an intervention with Type as "Drug" Name as "Liver Transplantation" and description as "test"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Then I click on "Interventions" link
And I add an intervention with Type as "Drug" Name as "Barium Sulfate" and description as "test2"
Then I click on "Groups/Cohorts" link
And I add a Group with Label "test1" and Description "Group1 description"
Then I click on "Abstraction Validation" link
Then I verify for the section, message is present or not
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02953" 4s
When I go to "Abstraction Validation" section in PA app 5s
Then I verify for the section, message is present or not 8s + Show Error
validating Abstraction message for message Trial status transition errors were found. Select Trial Status from Administrative Data menu, then click History.
("Lead Organization Trial Identifier cannot be more than 30 characters Select General Trial Details from Administrative Data menu.\nNCT Number cannot be more than 30 characters Select General Trial Details from Administrative Data menu.\nCTEP Number cannot be more than 30 characters Select General Trial Details from Administrative Data menu.\nDCP Number cannot be more than 30 characters Select General Trial Details from Administrative Data menu.\nOfficial Title must be Entered Select General Trial Details from Administrative Data menu.\nReporting Data Set Method must be Entered Select NCI Specific Information from Administrative Data menu.\nFDA Regulated Intervention Indicator Should be Yes to add Trial IND IDE records. Select Regulatory under Regulatory Information from Administrative Data menu.\nReview Board Approval Status is missing, Please complete Human Subject Review information. Select Human Subject Safety under Regulatory Information from Administrative Data menu.\nTrial IND/IDE should not have Duplicate values. Select Trial IND/IDE under Regulatory Information from Administrative Data menu.\nStartDate must be Entered. Select Trial Status from Administrative Data menu.\nStartDateType must be Entered. Select Trial Status from Administrative Data menu.\nThis trial is funded by NCI; however, an NCI grant record was not entered. Select Trial Funding from Administrative Data menu.\nData inconsistency: At least one location needs to be recruiting if the overall recruitment status is 'Active' Select Participating Sites from Administrative Data menu.\nTreating site can not have duplicate investigator. Select Participating Sites from Administrative Data menu.\nProtocol_Document is required Select Trial Related Documents from Administrative Data menu.\nIRB_Approval_Document is required Select Trial Related Documents from Administrative Data menu.") was expected to include
("Trial status transition errors were found. Select Trial Status from Administrative Data menu, then click History."). (Test::Unit::AssertionFailedError)
./features/support/pa/abstraction_validation.rb:33:in `check_abstraction_message'
./features/step_definitions/abstraction_validation.rb:54:in `block (2 levels) in (top (required))'
./features/step_definitions/abstraction_validation.rb:52:in `each'
./features/step_definitions/abstraction_validation.rb:52:in `/^I verify for the section, message is present or not$/'
features/pa/ui/abstraction_validation.feature:355:in `Then I verify for the section, message is present or not'
And I verify "Admin" section displays "17" items
And I verify "Scientific" section displays "13" items
And I verify "Warning" section displays "8" items
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02954" 7s
When I go to "Abstraction Validation" section in PA app 2s
Then I verify for the section, message is present or not 4s
And I verify "Admin" section displays "9" items 0s
And I verify "Scientific" section displays "7" items 0s
And I verify "Warning" section displays "3" items 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02955" 5s
When I go to "Abstraction Validation" section in PA app 5s
Then I verify for the section, message is present or not 2s
And I verify "Admin" section displays "5" items 0s
And I verify "Scientific" section displays "13" items 0s
And I verify "Warning" section displays "6" items 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02956" 5s
When I go to "Abstraction Validation" section in PA app 4s
Then I verify for the section, message is present or not 1s
And I verify "Admin" section displays "2" items 0s
And I verify "Scientific" section displays "13" items 0s
And I verify "Warning" section displays "One" items 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02957" 7s
When I go to "Abstraction Validation" section in PA app 5s
Then I verify for the section, message is present or not 0s
And I verify "Admin" section displays "5" items 0s
And I verify "Scientific" section displays "13" items 0s
And I verify "Warning" section displays "2" items 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02785" 4s
When I navigate to Disease/Condition page in PA 5s
And I click on Add button and enter the drug name as Alzheimer's 2s
And I click on Add All button in search Disease screen to add all variants of Diseases 2s
And I click on Add button to add the Diseases to the Disease/Condition 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02786" 9s
When I navigate to Disease/Condition page in PA 5s
And I click on Add button and enter the drug name as cancer 3s
And I click on Add All button in search Disease screen to add all variants of Diseases 2s
And I click on Add button to add the Diseases to the Disease/Condition 0s
Given I want to Import a trial into CTRP with NCT ID "NCT01506141" 18s
When I click on the Search Trials link 3s
And I click accept button in the trial validation screen 6s
Then I click on "Trial Description" link 1s
And I click on save button in Trial Description page 2s
And Import the same trial into CTRP with NCT ID "NCT01506141" 7s
And verify the Acknowledgement is not generated in Trial History Update page 11s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 4s
When I click on "Trial Description" link 5s
Then I fill all fields in trial description page and click save 6s
And I connect to database and verify the fields are saved successfully 0s
Given I login into CTRP Registry 17s
When I navigate to a new National trial screen 3s
And I complete the remaining trial 43s
And I click to review trial 1s
And I Edit the trial 8s
Then I go to FDA IND/IDE Information for applicable trials section 0s
And "Expanded Access" field should be renamed to "Availability of Expanded Access" 0s
And by default the value should be selected as "Unknown" 0s
And It should have value as "Unknown" "No" "Yes" 0s
And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record (if applicable)" 0s
And "Exempt" field should be removed 6s
And "Expanded access record" should be Enabled or disabled based on "Availability of Expanded Access" 3s
And the help text should be "Will any non-protocol access to the investigational drug, biologic or device be provided?" for "Availability of Expanded Access" 0s
And the help text should be "ClinicalTrials.gov identifier (NCT number) for the associated Expanded Access record." for "Expanded Access Record" 0s
And
for the
And I select the "Availability of Expanded Access" as "Yes" 1s
And I add incorrect value in the Expanded access record as 0s
And I enter the remaining IND-IDE information 5s
Then it shall not add the IND IDE and give error message as "Expanded Access Record must be a ClinicalTrials.gov identifier (NCT number) in the format NCT99999999" 51s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 6s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 21s
Then I verify the IND-IDE information 1s
And I complete the remaining trial 31s
And I click to review trial 1s
Then I verify the IND-IDE information on Review page 2s
And I Edit the trial 6s
Then I verify the IND-IDE information 1s
And I delete one of the IND-IDE 1s
And I Review the deleted IND-IDE and Submit the trial 7s
Then I verify the IND-IDE information on Submit page after delete 0s
And I verify the db for correct IND-IDE after delete 1s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 21s
Then I verify the IND-IDE information 1s
And I complete the remaining Non-Interventional trial 40s
And I click to review trial 2s
Then I verify the IND-IDE information on Review page 2s
And I Edit the trial 5s
Then I verify the IND-IDE information 1s
And I delete all IND-IDE 3s
Then I verify there are no the IND-IDE information 6s
And I Review and Submit the trial with no IND-IDE 12s
Then I verify there is no IND-IDE information on Submit page for "National" trial and "Non-Interventional" trial 6s
And I verify the db for no IND-IDE 1s
Given I login into CTRP Registry 2s
When I navigate to a new Institutional screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND record with IND number as "1234" 7s
And I complete the remaining Non-Interventional trial 44s
And I click to review trial 1s
And I Edit the trial 7s
And I add the IND record with IND number as "1234" 6s
And I click to review trial 0s
Then It shall give message as "Duplicate IND/IDEs are not allowed." 6s
And I delete the duplicate IND number 1s
And I add new IND-IDE 13s
And I click to review trial 0s
Then I verify the IND-IDE information on Review page 1s
And I Edit the trial 5s
Then I verify the IND-IDE information 1s
And I Review and Submit the trial 7s
Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Non-Interventional" trial 1s
And I verify the db for correct IND-IDE 1s
Given I login into CTRP Registry 4s
Then I go to "Manage Program Codes Master List" 3s
And I select "FAM_03" from the Organization Family list 4s
When I click to delete the Program code as "1" 2s
Then In delete page it shall not list any Trial 6s
When I select "Delete" to delete the Program Code 1s
Then Program code should be deleted 2s
Given I click to view tsr of nci_id "NCI-2017-02728" with amd as "amd_12" and sub_num as "2" from PA app, Abstraction Validation screen 47s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02837" with amd as "Versions # 1-3" and sub_num as "3" from PA app, Abstraction Validation screen 17s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02840" with amd as "(Vers 1.4)" and sub_num as "6" from PA app, Abstraction Validation screen 15s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02841" with amd as "V. 7/27/10" and sub_num as "7" from PA app, Abstraction Validation screen 17s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02847" with amd as "Revision 3 Amendment v10/29/15" and sub_num as "11" from PA app, Abstraction Validation screen 17s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02848" with amd as "R05 (R04,R02 protocols included; R03 Withdrawn; R01 Disapproved)" and sub_num as "12" from PA app, Abstraction Validation screen 15s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02850" with amd as "AM 7, AM 8, AM 9, AM 10, AM 11, AM 12, CR 2" and sub_num as "14" from PA app, Abstraction Validation screen 17s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02853" with amd as "~!@#$%^&*()_+{}:><,./;'[]\=-`" and sub_num as "17" from PA app, Abstraction Validation screen 17s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02728" with amd as "amd_12" and sub_num as "2" from PA app, View TSR Navigation menu 12s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02840" with amd as "(Vers 1.4)" and sub_num as "6" from PA app, View TSR Navigation menu 14s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02841" with amd as "V. 7/27/10" and sub_num as "7" from PA app, View TSR Navigation menu 14s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02843" with amd as "V4/28/2015" and sub_num as "9" from PA app, View TSR Navigation menu 12s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02848" with amd as "R05 (R04,R02 protocols included; R03 Withdrawn; R01 Disapproved)" and sub_num as "12" from PA app, View TSR Navigation menu 12s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02849" with amd as "Amendment 8 (R1/A4/A6/A7 disapproved)" and sub_num as "13" from PA app, View TSR Navigation menu 15s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02851" with amd as "7/14/2016" and sub_num as "15" from PA app, View TSR Navigation menu 12s
Then
the file name should be "TSR_<
Given I click to view tsr of nci_id "NCI-2017-02853" with amd as "~!@#$%^&*()_+{}:><,./;'[]\=-`" and sub_num as "17" from PA app, View TSR Navigation menu 14s
Then
the file name should be "TSR_<
Given I view tsr of nci_id "NCI-2017-02728" with amd as "amd_12" and sub_num as "2" from Email 22s
Then
the file name in email should be "TSR_<
Given I view tsr of nci_id "NCI-2017-02841" with amd as "V. 7/27/10" and sub_num as "7" from Email 21s
Then
the file name in email should be "TSR_<
Given I view tsr of nci_id "NCI-2017-02843" with amd as "V4/28/2015" and sub_num as "9" from Email 20s
Then
the file name in email should be "TSR_<
Given I view tsr of nci_id "NCI-2017-02847" with amd as "Revision 3 Amendment v10/29/15" and sub_num as "11" from Email 22s
Then
the file name in email should be "TSR_<
Given I view tsr of nci_id "NCI-2017-02848" with amd as "R05 (R04,R02 protocols included; R03 Withdrawn; R01 Disapproved)" and sub_num as "12" from Email 22s
Then
the file name in email should be "TSR_<
Given I view tsr of nci_id "NCI-2017-02850" with amd as "AM 7, AM 8, AM 9, AM 10, AM 11, AM 12, CR 2" and sub_num as "14" from Email 23s
Then
the file name in email should be "TSR_<
Given I view tsr of nci_id "NCI-2017-02853" with amd as "~!@#$%^&*()_+{}:><,./;'[]\=-`" and sub_num as "17" from Email 22s
Then
the file name in email should be "TSR_<
Given I update the status code of Submitter CI as 'INACTIVE' 0s
When I login into CTRP and search for a trial with NCI ID "NCI-2017-00392" 23s
Then I click on "Assign Ownership" link 2s
And I verify 'Submitter (Inactive)' CI is displayed 0s
When I login into CTRP Registry 16s
Then I navigate to Trial OwnerShip Manage page 10s
And I verify 'CI, Submitter (Inactive)' is not displayed under Users affiliated with this site, and family members 6s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02959" 24s
Then I click on "Trial Status" link 4s
And I click on Trial History 1s
And base trial status for trial is "In Review" with validation "V(valid)" 0s
When I switch to below trial status, following validation should be there 1m 9s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02960" 10s
Then I click on "Trial Status" link 8s
And I click on Trial History 3s
And base trial status for trial is "Approved" with validation "W(In Review)" 0s
When I switch to below trial status, following validation should be there 1m 4s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02962" 7s
Then I click on "Trial Status" link 5s
And I click on Trial History 2s
And base trial status for trial is "Withdrawn" with validation "W(In Review);W(Approved)" 0s
When I switch to below trial status, following validation should be there 1m 11s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02961" 12s
Then I click on "Trial Status" link 9s
And I click on Trial History 2s
And base trial status for trial is "Active" with validation "W(In Review);W(Approved)" 0s
When I switch to below trial status, following validation should be there 1m 11s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02963" 10s
Then I click on "Trial Status" link 7s
And I click on Trial History 1s
And base trial status for trial is "Enrolling by Invitation" with validation "W(In Review);W(Approved)" 0s
When I switch to below trial status, following validation should be there 1m 28s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02968" 5s
Then I click on "Trial Status" link 8s
And I click on Trial History 5s
And base trial status for trial is "Closed to Accrual" with validation "W(In Review);W(Approved)" 0s
When I switch to below trial status, following validation should be there 1m 24s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02965" 15s
Then I click on "Trial Status" link 9s
And I click on Trial History 6s
And base trial status for trial is "Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Closed to Accrual)" 0s
When I switch to below trial status, following validation should be there 1m 14s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02966" 12s
Then I click on "Trial Status" link 8s
And I click on Trial History 1s
And base trial status for trial is "Temporarily Closed to Accrual" with validation "W(In Review);W(Approved" 0s
When I switch to below trial status, following validation should be there 1m 32s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02967" 7s
Then I click on "Trial Status" link 9s
And I click on Trial History 2s
And base trial status for trial is "Temporarily Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Temporarily Closed to Accrual)" 0s
When I switch to below trial status, following validation should be there 1m 49s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02964" 27s + Show Error
Unable to locate element: {"method":"id","selector":"trialSearchMenuOption"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:38:in `log_on_user'
./features/step_definitions/reg_information.rb:15:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/trial_status.feature:90:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02964"'
features/pa/ui/trial_status.feature:62:in `Given I login into CTRP and search for a trial with NCI ID "(nci_id)"'
Then I click on "Trial Status" link
And I click on Trial History
And base trial status for trial is "Complete" with validation "W(In Review);W(Approved);W(Closed to Accrual);W(Closed to Accrual and Intervention)"
When I switch to below trial status, following validation should be there
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02969" 9s
Then I click on "Trial Status" link 7s
And I click on Trial History 2s
And base trial status for trial is "Administratively Complete" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual);W(Closed to Accrual and Intervention)" 0s
When I switch to below trial status, following validation should be there 1m 36s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02970" 12s
Then I click on "Trial Status" link 8s
And I click on Trial History 6s
And base trial status for trial is "In Review" with validation "V(valid)" 0s
When I switch to below trial status, following validation should be there 1m 41s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02971" 10s
Then I click on "Trial Status" link 8s
And I click on Trial History 2s
And base trial status for trial is "Approved" with validation "W(In Review)" 0s
When I switch to below trial status, following validation should be there 1m 29s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02972" 20s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:24:in `search_which_trial'
./features/step_definitions/reg_information.rb:18:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/trial_status.feature:117:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02972"'
features/pa/ui/trial_status.feature:96:in `Given I login into CTRP and search for a trial with NCI ID "(nci_id)"'
Then I click on "Trial Status" link
And I click on Trial History
And base trial status for trial is "Withdrawn" with validation "W(In Review);W(Approved)"
When I switch to below trial status, following validation should be there
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02973" 6s
Then I click on "Trial Status" link 9s
And I click on Trial History 2s
And base trial status for trial is "Active" with validation "W(In Review);W(Approved)" 7s
When I switch to below trial status, following validation should be there 1m 15s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02974" 10s
Then I click on "Trial Status" link 10s
And I click on Trial History 2s
And base trial status for trial is "Enrolling by Invitation" with validation "W(In Review);W(Approved)" 0s
When I switch to below trial status, following validation should be there 1m 54s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02975" 11s
Then I click on "Trial Status" link 9s
And I click on Trial History 4s
And base trial status for trial is "Closed to Accrual" with validation "W(In Review);W(Approved);W(Active)" 0s
When I switch to below trial status, following validation should be there 1m 15s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02976" 21s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:25:in `search_which_trial'
./features/step_definitions/reg_information.rb:18:in `/^I login into CTRP and search for a trial with NCI ID "([^"]*)"$/'
features/pa/ui/trial_status.feature:121:in `Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02976"'
features/pa/ui/trial_status.feature:96:in `Given I login into CTRP and search for a trial with NCI ID "(nci_id)"'
Then I click on "Trial Status" link
And I click on Trial History
And base trial status for trial is "Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual)"
When I switch to below trial status, following validation should be there
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02977" 16s
Then I click on "Trial Status" link 9s
And I click on Trial History 2s
And base trial status for trial is "Temporarily Closed to Accrual" with validation "W(In Review);W(Approved);W(Active)" 0s
When I switch to below trial status, following validation should be there 1m 14s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02978" 8s
Then I click on "Trial Status" link 7s
And I click on Trial History 3s
And base trial status for trial is "Temporarily Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Active);W(Temporarily Closed to Accrual)" 0s
When I switch to below trial status, following validation should be there 1m 25s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02979" 13s
Then I click on "Trial Status" link 8s
And I click on Trial History 4s
And base trial status for trial is "Complete" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual);W(Closed to Accrual and Intervention)" 0s
When I switch to below trial status, following validation should be there 1m 25s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02980" 9s
Then I click on "Trial Status" link 8s
And I click on Trial History 2s
And base trial status for trial is "Administratively Complete" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual);W(Closed to Accrual and Intervention)" 0s
When I switch to below trial status, following validation should be there 1m 28s
Given I Create a complete (Interventional) trial using RESTful service with delayedPosting as 'true' 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s
Given I Create a complete (Interventional) trial using RESTful service with delayedPosting as 'false' 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s
Given I Create a complete (Interventional) trial using RESTful service with delayedPosting as 'null' 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s
Given I Create a complete (Interventional) trial using RESTful service without unapp/unclea and pediatric post-market fields 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s
Then I connect to dynamo db and verify 'ped_postmarket_surv' field is null 15s
Given I Create a complete (Interventional) trial using RESTful service with postprior field as 'true' 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I connect to dynamo db and verify 'post_prior_to_approval' field has value 'true' 0s
Given I Create a complete (Interventional) trial using RESTful service with postprior field as 'false' 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I connect to dynamo db and verify 'post_prior_to_approval' field has value 'false' 0s
Given I Create a complete (Interventional) trial using RESTful service with postprior field as 'null' 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I connect to dynamo db and verify 'post_prior_to_approval' field is null 6s
Given I Create a complete (Interventional) trial using RESTful service with device prouct as 'false' 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I connect to the database and verify the 'delayed_posting_indicator' field has value 'f' 0s
Then I connect to dynamo db and verify 'post_prior_to_approval' field is null 6s
Then I connect to dynamo db and verify 'ped_postmarket_surv' field is null 6s
Given I Create a complete (Interventional) trial using RESTful service with fda regulated as 'false' 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I connect to the database and verify the 'section801_indicator' field has value '' 0s + Show Error
expected: ""
got: "t"
(compared using ==)
(RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/restservices_validations.rb:9:in `/^I connect to the database and verify the '([^"]*)' field has value '([^"]*)'$/'
features/pa_trials_api/restservices_validations.feature:67:in `Then I connect to the database and verify the 'section801_indicator' field has value '''
Given I login into CTRP Registry 15s
When I navigate to a new National trial screen 2s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And "Expanded Access" field should be renamed to "Availability of Expanded Access" 0s
And by default the value should be selected as "Unknown" 0s
And It should have value as "Unknown" "No" "Yes" 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 4s
And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record (if applicable)" 0s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 6s
And "Exempt" field should be removed 6s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And "Expanded access record" should be Enabled or disabled based on "Availability of Expanded Access" 3s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 4s
And I select the "Availability of Expanded Access" as "Yes" 1s
And I add the value as "NCT12345678" in the "Expanded access record" 1s
And I enter the remaining IND-IDE information 5s
And I click to add the IND IDE 1s
Then it shall add the IND IDE with the "Availability of Expanded Access" as "Yes" and "Expanded access record" as "NCT12345678" 0s
And it shall allow to delete the record 7s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I select the "Availability of Expanded Access" as "No" 1s
And I enter the remaining IND-IDE information 5s
And I click to add the IND IDE 1s
Then it shall add the IND IDE with the "Availability of Expanded Access" as "No" 0s
And it shall allow to delete the record 7s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I select the "Availability of Expanded Access" as "Unknown" 0s
And I enter the remaining IND-IDE information 5s
And I click to add the IND IDE 1s
Then it shall add the IND IDE with the "Availability of Expanded Access" as "Unknown" 0s
And it shall allow to delete the record 7s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 6s
Then the help text should be "Will any non-protocol access to the investigational drug, biologic or device be provided?" for "Availability of Expanded Access" 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 5s
Then the help text should be "ClinicalTrials.gov identifier (NCT number) for the associated Expanded Access record." for "Expanded Access Record" 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 4s
And I select the "Availability of Expanded Access" as "Yes" 1s
And I add incorrect value in the Expanded access record as 0s
And I enter the remaining IND-IDE information 5s
Then it shall not add the IND IDE and give error message as "Expanded Access Record must be a ClinicalTrials.gov identifier (NCT number) in the format NCT99999999" 50s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 3s
Then
for the
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 19s
Then I verify the IND-IDE information 1s
And I complete the remaining trial 23s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:95:in `click' ./features/step_definitions/registry_ind_ide_info.rb:337:in `/^I complete the remaining trial$/' features/registry/ui/IND_IDE.feature:126:in `And I complete the remaining trial'
And I click to review trial
Then I verify the IND-IDE information on Review page
And I Edit the trial
Then I verify the IND-IDE information
And I Review and Submit the trial
Then I verify the IND-IDE information on Submit page for "National" trial and "Interventional" trial
And I verify the db for correct IND-IDE
Given I login into CTRP Registry 3s
When I navigate to a new Externally Peer-Reviewed screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 17s
Then I verify the IND-IDE information 1s
And I complete the remaining trial 32s
And I click to review trial 1s
Then I verify the IND-IDE information on Review page 3s
And I Edit the trial 5s
Then I verify the IND-IDE information 1s
And I Review and Submit the trial 6s
Then I verify the IND-IDE information on Submit page for "Externally Peer-Reviewed" trial and "Interventional" trial 1s
And I verify the db for correct IND-IDE 2s
Given I login into CTRP Registry 2s
When I navigate to a new Institutional screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 6s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 19s
Then I verify the IND-IDE information 1s
And I complete the remaining trial 26s
And I click to review trial 0s
Then I verify the IND-IDE information on Review page 2s
And I Edit the trial 5s
Then I verify the IND-IDE information 1s
And I Review and Submit the trial 8s
Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Interventional" trial 1s
And I verify the db for correct IND-IDE 2s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 14s
Then I verify the IND-IDE information 1s
And I complete the remaining Non-Interventional trial 38s
And I click to review trial 1s
Then I verify the IND-IDE information on Review page 2s
And I Edit the trial 4s
Then I verify the IND-IDE information 1s
And I Review and Submit the trial 6s
Then I verify the IND-IDE information on Submit page for "National" trial and "Non-Interventional" trial 0s
And I verify the db for correct IND-IDE 2s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
And I complete the remaining Non-Interventional trial 27s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:95:in `click' ./features/step_definitions/registry_ind_ide_info.rb:618:in `/^I fill all fields$/' ./features/step_definitions/registry_ind_ide_info.rb:578:in `/^I complete the remaining Non-Interventional trial$/' features/registry/ui/IND_IDE.feature:195:in `And I complete the remaining Non-Interventional trial'
And I click to review trial
Then I verify there are no IND-IDE information on Review page
And I Edit the trial
Then I verify there are no the IND-IDE information
And I Review and Submit the trial with no IND-IDE
Then I verify there is no IND-IDE information on Submit page for "National" trial and "Non-Interventional" trial
And I verify the db for no IND-IDE
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
And I complete the remaining trial 20s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:95:in `click' ./features/step_definitions/registry_ind_ide_info.rb:328:in `/^I complete the remaining trial$/' features/registry/ui/IND_IDE.feature:211:in `And I complete the remaining trial'
And I click to review trial
Then I verify there are no IND-IDE information on Review page
And I Edit the trial
Then I verify there are no the IND-IDE information
And I Review and Submit the trial with no IND-IDE
Then I verify there is no IND-IDE information on Submit page for "National" trial and "Interventional" trial
And I verify the db for no IND-IDE
Given I login into CTRP Registry 2s
When I navigate to a new Institutional screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 4s
And I add the IND record with IND number as "1234" 4s
And I add the IND record with IND number as "1234" 5s
And I click to review trial 1s
Then It shall give message as "Duplicate IND/IDEs are not allowed." 4s
And I delete the duplicate IND number 0s
And I add new IND-IDE 9s
And I complete the remaining trial 11s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) ./features/support/helper_methods.rb:95:in `click' ./features/step_definitions/registry_ind_ide_info.rb:328:in `/^I complete the remaining trial$/' features/registry/ui/IND_IDE.feature:233:in `And I complete the remaining trial'
And I click to review trial
Then I verify the IND-IDE information on Review page
And I Edit the trial
Then I verify the IND-IDE information
And I Review and Submit the trial
Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Interventional" trial
And I verify the db for correct IND-IDE
Given I login into CTRP Registry 2s
When I navigate to a new Institutional screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 3s
And I add the IND record with IND number as "1234" 5s
And I add the IND record with IND number as "1234" 4s
And I click to review trial 0s
Then It shall give message as "Duplicate IND/IDEs are not allowed." 3s
And I delete the duplicate IND number 1s
And I add new IND-IDE 11s
And I complete the remaining trial 24s
And I click to review trial 0s
Then I verify the IND-IDE information on Review page 2s
And I Edit the trial 4s
Then I verify the IND-IDE information 0s
And I Review and Submit the trial 5s
Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Interventional" trial 0s
And I verify the db for correct IND-IDE 1s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 4s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes (no Expanded Access record), No 13s
Then I verify the IND-IDE information 1s
And I complete the remaining trial 15s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22470-wgsipi/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:95:in `click' ./features/step_definitions/registry_ind_ide_info.rb:328:in `/^I complete the remaining trial$/' features/registry/ui/IND_IDE.feature:309:in `And I complete the remaining trial'
And I click to review trial
Then I verify the IND-IDE information on Review page
And I Edit the trial
Then I verify the IND-IDE information
And I Review and Submit the trial
Then I verify the IND-IDE information on Submit page for "National" trial and "Interventional" trial
And I verify the db for correct IND-IDE
Given I login into CTRP Registry 2s
And I search for Trial with NCI ID "NCI-2017-02650" 2s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 4s
And If IND-IDE information is available on Amend page 0s
Then "Expanded Access" field should be renamed to "Availability of Expanded Access" 0s
And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record (if applicable)" 0s
And "Exempt" field should be removed 6s
Given I login into CTRP Registry 2s
And I search for Trial with NCI ID "NCI-2017-02650" 2s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 5s
Then I go to FDA IND/IDE Information for applicable trials section 0s
And "Expanded Access" field should be renamed to "Availability of Expanded Access" 0s
And by default the value should be selected as "Unknown" 0s
And It should have value as "Unknown" "No" "Yes" 0s
And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record (if applicable)" 0s
And "Exempt" field should be removed 6s
And "Expanded access record" should be Enabled or disabled based on "Availability of Expanded Access" 2s
And the help text should be "Will any non-protocol access to the investigational drug, biologic or device be provided?" for "Availability of Expanded Access" 0s
And the help text should be "ClinicalTrials.gov identifier (NCT number) for the associated Expanded Access record." for "Expanded Access Record" 0s
And
for the
And I select the "Availability of Expanded Access" as "Yes" 0s
And I add incorrect value in the Expanded access record as 0s
And I enter the remaining IND-IDE information 3s
Then it shall not add the IND IDE and give error message as "Expanded Access Record must be a ClinicalTrials.gov identifier (NCT number) in the format NCT99999999" 48s
Given I login into CTRP Registry 2s
And I search for Trial with NCI ID "NCI-2017-02651" 2s
And I select to Amend the Trial 0s
Then It shall take to the Amend Trial page 5s
And If no IND-IDE information is available on Amend page 6s
Then It shall not display IND-IDE table on Amend page 6s
Given I login into CTRP Registry 3s
And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02652" 2s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 5s
And It shall display the content of IND-IDE table correctly on Amend page 1s
And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 14s
Then I verify all the IND-IDE information on Amend page 1s
And I complete the remaining Amend trial 1s
And I click to review trial 0s
Then I verify all the IND-IDE information on Amend Review page 2s
And I Edit the trial 4s
Then I verify all the IND-IDE information on Amend page 1s
And I Review and Submit the trial after amendment 8s
Then I verify all the IND-IDE information on Amend Submit page for "National" trial 1s
And I verify the db for correct IND-IDE after amendment 2s
Given I login into CTRP Registry 1s
And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02653" 2s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 4s
And If no IND-IDE information is available on Amend page 7s
Then It shall not display IND-IDE table on Amend page 6s
And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 11s
Then I verify all the added IND-IDE information on Amend page 1s
And I complete the remaining Amend trial 1s
And I click to review trial 0s
Then I verify all the added IND-IDE information on Amend Review page 1s
And I Edit the trial 4s
Then I verify all the added IND-IDE information on Amend page 0s
And I Review and Submit the trial after the amendment 7s
Then I verify all the added IND-IDE information on Amend Submit page for "National" trial 0s
And I verify the db for correct added IND-IDE after amendment 2s
Given I login into CTRP Registry 1s
And I search for "Interventional" "Externally Peer-Reviewed" Trial with NCI ID "NCI-2017-02654" 2s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 4s
And It shall display the content of IND-IDE table correctly on Amend page 1s
And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 12s
Then I verify all the IND-IDE information on Amend page 1s
And I complete the remaining Amend trial 1s
And I click to review trial 1s
Then I verify all the IND-IDE information on Amend Review page 2s
And I Edit the trial 4s
Then I verify all the IND-IDE information on Amend page 1s
And I Review and Submit the trial after amendment 8s
Then I verify all the IND-IDE information on Amend Submit page for "Externally Peer-Reviewed" trial 1s
And I verify the db for correct IND-IDE after amendment 3s
Given I login into CTRP Registry 1s
And I search for "Interventional" "Institutional" Trial with NCI ID "NCI-2017-02655" 3s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 5s
And It shall display the content of IND-IDE table correctly on Amend page 1s
And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 15s
Then I verify all the IND-IDE information on Amend page 1s
And I complete the remaining Amend trial 1s
And I click to review trial 0s
Then I verify all the IND-IDE information on Amend Review page 2s
And I Edit the trial 4s
Then I verify all the IND-IDE information on Amend page 1s
And I Review and Submit the trial after amendment 7s
Then I verify all the IND-IDE information on Amend Submit page for "Institutional" trial 1s
And I verify the db for correct IND-IDE after amendment 3s
Given I login into CTRP Registry 2s
And I search for "NonInterventional" "National" Trial with NCI ID "NCI-2017-02656" 3s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 5s
And It shall display the content of IND-IDE table correctly on Amend page 1s
And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 12s
Then I verify all the IND-IDE information on Amend page 1s
And I complete the remaining Amend trial 0s
And I click to review trial 0s
Then I verify all the IND-IDE information on Amend Review page 2s
And I Edit the trial 4s
Then I verify all the IND-IDE information on Amend page 1s
And I Review and Submit the trial after amendment 8s
Then I verify all the IND-IDE information on Amend Submit page for "National" trial 1s
And I verify the db for correct IND-IDE after amendment 2s
Given I login into CTRP Registry 1s
And I search for "NonInterventional" "National" Trial with NCI ID "NCI-2017-02657" 2s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 5s
And It shall display the content of IND-IDE table correctly on Amend page 1s
Then It shall not allow to delete the existing IND-IDE 18s
And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 12s
Then It shall allow to delete the newly added IND-IDE 2s
Given I login into CTRP Registry 2s
And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02658" 1s
And I select to Amend the Trial 0s
Then It shall take to the Amend Trial page 5s
And It shall display the content of IND-IDE table correctly on Amend page 1s
And I add new IND-IDE and Availability of Expanded Access as Unknown, Yes, No 16s
Then I verify all the IND-IDE information on Amend page 1s
And I complete the remaining Amend trial with no value selected for FDA Indicator 1s
And I click to review trial 0s
Then I verify all the IND-IDE information on Amend Review page 1s
And I click to submit trial 5s
Then It shall give error message as "Error Message: FDA Regulated Intervention Indicator must be Yes since it has Trial IND/IDE records." 0s
And I select "FDA Regulated Intervention Indicator" as "Yes" 1s
And I click to review trial 0s
And I click to submit trial 6s
Then I verify all the IND-IDE information on Amend Submit page for "National" trial 1s
And I verify "FDA Regulated Intervention Indicator" is set to "Yes" on Amend page 0s
And I verify "Section 801 Indicator" has no value 0s
And I verify the db for correct IND-IDE after amendment 2s
Given I login into CTRP Registry 1s
And I search for Trial with NCI ID "NCI-2017-02644" 1s
And I select to Update the Trial 0s
Then It shall take to the Update Trial page 2s
And If IND-IDE information is available 0s
Then "Expanded Access" field should be renamed to "Availability of Expanded Access" 0s
And "Expanded Access Type (if applicable)" field should be renamed to "Expanded Access Record" 0s
And "Exempt" field should be removed 6s
Given I login into CTRP Registry 1s
And I search for Trial with NCI ID "NCI-2017-02645" 3s
And I select to Update the Trial 0s
Then It shall take to the Update Trial page 2s
And If no IND-IDE information is available 6s
Then It shall not display IND-IDE table 6s
Given I login into CTRP Registry 1s
And I search for Trial with NCI ID "NCI-2017-02644" 2s
And I select to Update the Trial 1s
Then It shall take to the Update Trial page 3s
And If IND-IDE information is available 0s
Then It shall display the content of IND-IDE table correctly 1s
Given I login into CTRP Registry 1s
And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02644" 2s
And I select to Update the Trial 0s
Then It shall take to the Update Trial page 2s
And If IND-IDE information is available 0s
Then It shall display the content of IND-IDE table correctly 1s
And I click to review trial 1s
Then It shall display the content of IND-IDE table correctly on review page 2s
And I Edit the trial on update page 2s
Then It shall display the content of IND-IDE table correctly 1s
And I Review and Submit the trial on update page 4s
Then It shall display the content of IND-IDE table correctly on submit page 0s
Given I login into CTRP Registry 1s
And I search for "Interventional" "Externally Peer-Reviewed" Trial with NCI ID "NCI-2017-02646" 3s
And I select to Update the Trial 1s
Then It shall take to the Update Trial page 4s
And If IND-IDE information is available 0s
Then It shall display the content of IND-IDE table correctly 1s
And I click to review trial 0s
Then It shall display the content of IND-IDE table correctly on review page 2s
And I Edit the trial on update page 3s
Then It shall display the content of IND-IDE table correctly 1s
And I Review and Submit the trial on update page 5s
Then It shall display the content of IND-IDE table correctly on submit page 0s
Given I login into CTRP Registry 1s
And I search for "Interventional" "Institutional" Trial with NCI ID "NCI-2017-02647" 1s
And I select to Update the Trial 0s
Then It shall take to the Update Trial page 3s
And If IND-IDE information is available 0s
Then It shall display the content of IND-IDE table correctly 0s
And I click to review trial 0s
Then It shall display the content of IND-IDE table correctly on review page 3s
And I Edit the trial on update page 2s
Then It shall display the content of IND-IDE table correctly 0s
And I Review and Submit the trial on update page 4s
Then It shall display the content of IND-IDE table correctly on submit page 0s
Given I login into CTRP Registry 3s
And I search for "Non-Interventional" "National" Trial with NCI ID "NCI-2017-02648" 2s
And I select to Update the Trial 1s
Then It shall take to the Update Trial page 2s
And If IND-IDE information is available 0s
Then It shall display the content of IND-IDE table correctly 1s
And I click to review trial 1s
Then It shall display the content of IND-IDE table correctly on review page 2s
And I Edit the trial on update page 4s
Then It shall display the content of IND-IDE table correctly 1s
And I Review and Submit the trial on update page 5s
Then It shall display the content of IND-IDE table correctly on submit page 0s
Given I login into CTRP Registry 4s
And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02645" 4s
And I select to Update the Trial 1s
Then It shall take to the Update Trial page 2s
And If no IND-IDE information is available 6s
Then It shall not display IND-IDE table 8s
And I click to review trial 1s
Then It shall not display IND-IDE table on review page 2s
And I Edit the trial on update page 4s
Then It shall not display IND-IDE table 6s
And I Review and Submit the trial on update page for no IND-IDE 11s
Then It shall not display IND-IDE table on submit page 0s
Given I login into CTRP Registry 2s
And I search for "Interventional" "National" Trial with NCI ID "NCI-2017-02650" 2s
And I select to Update the Trial 1s
Then It shall take to the Update Trial page 3s
And If IND-IDE information is available 0s
Then It shall display the content of IND-IDE table correctly 1s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
And I click on Add Person from 0s
Then For add "Person", It should give message 11s
Given I login into CTRP Registry 2s
And I search for Trial with NCI ID "NCI-2017-00389" 3s
And I select to Amend the Trial 1s
And I click on Add Person from 0s
Then For add "Person", It should give message 12s
Given I login into CTRP Registry 2s
Then I select to import a trial with NCT ID "NCT03356652" 9s
And I click to Add Participating Site 0s
And I select "Novartis Pharmaceuticals" from the list 2s
And I click on Add Person from 0s
Then For add "Person", It should give message 5s
Given I login into CTRP Registry 16s
And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02930" 6s
And I select "Novartis Pharmaceuticals" from the list 0s
And I click on Add Person from 0s
Then For add "Person", It should give message 8s
Given I login into CTRP Registry 15s
And I click to Update Participating Site from search result for abbreviated trial "NCI-2017-02928" 7s
And I click on Add Person from 0s
Then For add "Person", It should give message 5s
Given I login into CTRP Registry 15s
And From Add Sites, I searched for trial id "NCI-2017-02867" to add site 5s
And I click on Add Person from 0s
Then For add "Person", It should give message 2s
Given Accrual App launch 1s
Given I just launch the Accrual app 1s
Given I just "login" the "Accrual" app 4s
Given I login into the CTRP Accrual app 2s
And I search for a trial with NCI trial identifier: "NCI-2017-02679" 3s
And list of Trials table displays with following table columns 0s
And the trial type is "Interventional" and current trial status is "Complete" 0s
And select the trial to view the participating site accrual count page 1s
Then following table column should be presents in the participating site accrual count page 2s
And I navigate to Batch Upload page 1s
And I upload a TXT file with valid data that contains the accrual data for Accrual Count and Cut-Off date 5s
Then accrual batch uplaod confirmation message displays 0s
And I wait for accrual batch upload job to be complete 1s
Given I check email_log table in the database to ensure an email is sent for the trial with NCT trial identifier: "NCT00644878" 0s
And I verify the email subject content 0s
And I verify the email message body content 0s
Given I Import a trial with NCT ID "NCT02376023" 3s
And I verify the respective fields of a trial are imported successfully 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:17:in `/^I verify the respective fields of a trial are imported successfully$/' features/import/backend/ctrp_import_ct_api_mine.feature:7:in `And I verify the respective fields of a trial are imported successfully'
Given I Import a trial with NCT ID "NCT03056261" 2s
And I verify the trial status of ctgov 'Not yet recruiting' is saved as 'In_Review' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:18:in `And I verify the trial status of ctgov 'Not yet recruiting' is saved as 'In_Review' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03154437" 2s
And I verify the trial status of ctgov 'Approved for marketing' is saved as 'APPROVED_FOR_MARKETING' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:19:in `And I verify the trial status of ctgov 'Approved for marketing' is saved as 'APPROVED_FOR_MARKETING' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03283410" 4s
And I verify the trial status of ctgov 'Withdrawn' is saved as 'Withdrawn' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:20:in `And I verify the trial status of ctgov 'Withdrawn' is saved as 'Withdrawn' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03327467" 2s
And I verify the trial status of ctgov 'Available' is saved as 'Available' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:21:in `And I verify the trial status of ctgov 'Available' is saved as 'Available' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03315130" 2s
And I verify the trial status of ctgov 'Recruiting' is saved as 'Active' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:22:in `And I verify the trial status of ctgov 'Recruiting' is saved as 'Active' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03314948" 2s
And I verify the trial status of ctgov 'Enrolling by invitation' is saved as 'Enrolling_by_invitation' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:23:in `And I verify the trial status of ctgov 'Enrolling by invitation' is saved as 'Enrolling_by_invitation' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03313882" 3s
And I verify the trial status of ctgov 'Active, not recruiting' is saved as 'Closed_to_Accrual' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:24:in `And I verify the trial status of ctgov 'Active, not recruiting' is saved as 'Closed_to_Accrual' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03315299" 3s
And I verify the trial status of ctgov 'No longer available' is saved as 'NO_LONGER_AVAILABLE' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:25:in `And I verify the trial status of ctgov 'No longer available' is saved as 'NO_LONGER_AVAILABLE' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03314961" 2s
And I verify the trial status of ctgov 'Completed' is saved as 'COMPLETE' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:26:in `And I verify the trial status of ctgov 'Completed' is saved as 'COMPLETE' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03311178" 7s
And I verify the trial status of ctgov 'Terminated' is saved as 'Administratively_Complete' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:27:in `And I verify the trial status of ctgov 'Terminated' is saved as 'Administratively_Complete' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03447470" 3s
And I verify the trial status of ctgov 'Suspended' is saved as 'Temporarily_closed_to_accrual' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:158:in `/^I verify the trial status of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:28:in `And I verify the trial status of ctgov 'Suspended' is saved as 'Temporarily_closed_to_accrual' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:14:in `And I verify the trial status of ctgov '(ctgov_status)' is saved as '(ctrp_status)' in ctrp'
And I verify trial status date
Given I Import a trial with NCT ID "NCT03317730" 5s
And I verify the trial phase of ctgov 'Early Phase 1' is saved as 'O' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:218:in `/^I verify the trial phase of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:37:in `And I verify the trial phase of ctgov 'Early Phase 1' is saved as 'O' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:34:in `And I verify the trial phase of ctgov '(ctgov_phase)' is saved as '(ctrp_phase)' in ctrp'
Given I Import a trial with NCT ID "NCT03321617" 2s + Show Error
Verifying "Import response code. Body of response --) could not load an entity: [gov.nih.nci.po.data.bo.Organization#275066]" Expect value is 200 Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/' features/import/backend/ctrp_import_ct_api_mine.feature:38:in `Given I Import a trial with NCT ID "NCT03321617"' features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'
And I verify the trial phase of ctgov 'Phase 1' is saved as 'I' in ctrp
Given I Import a trial with NCT ID "NCT03321630" 3s
And I verify the trial phase of ctgov 'Phase 2' is saved as 'II' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:218:in `/^I verify the trial phase of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:39:in `And I verify the trial phase of ctgov 'Phase 2' is saved as 'II' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:34:in `And I verify the trial phase of ctgov '(ctgov_phase)' is saved as '(ctrp_phase)' in ctrp'
Given I Import a trial with NCT ID "NCT02932826" 1s + Show Error
Verifying "Import response code. Body of response --) could not execute query" Expect value is 200 Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/' features/import/backend/ctrp_import_ct_api_mine.feature:40:in `Given I Import a trial with NCT ID "NCT02932826"' features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'
And I verify the trial phase of ctgov 'Phase 1/Phase 2' is saved as 'I_II' in ctrp
Given I Import a trial with NCT ID "NCT03019185" 2s + Show Error
Verifying "Import response code. Body of response --) More than one row with the given identifier was found: 2, for class: gov.nih.nci.po.data.bo.Address" Expect value is 200 Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/' features/import/backend/ctrp_import_ct_api_mine.feature:41:in `Given I Import a trial with NCT ID "NCT03019185"' features/import/backend/ctrp_import_ct_api_mine.feature:33:in `Given I Import a trial with NCT ID "(nct_id)"'
And I verify the trial phase of ctgov 'Phase 2/Phase 3' is saved as 'II_III' in ctrp
Given I Import a trial with NCT ID "NCT03319849" 2s
And I verify the trial phase of ctgov 'Phase 3' is saved as 'III' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:218:in `/^I verify the trial phase of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:42:in `And I verify the trial phase of ctgov 'Phase 3' is saved as 'III' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:34:in `And I verify the trial phase of ctgov '(ctgov_phase)' is saved as '(ctrp_phase)' in ctrp'
Given I Import a trial with NCT ID "NCT03321032" 3s
And I verify the trial phase of ctgov 'Phase 4' is saved as 'IV' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:218:in `/^I verify the trial phase of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:43:in `And I verify the trial phase of ctgov 'Phase 4' is saved as 'IV' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:34:in `And I verify the trial phase of ctgov '(ctgov_phase)' is saved as '(ctrp_phase)' in ctrp'
Given I Import a trial with NCT ID "NCT03321604" 10s
And I verify the trial phase of ctgov 'N/A' is saved as 'NA' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:218:in `/^I verify the trial phase of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:44:in `And I verify the trial phase of ctgov 'N/A' is saved as 'NA' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:34:in `And I verify the trial phase of ctgov '(ctgov_phase)' is saved as '(ctrp_phase)' in ctrp'
Given I Import a trial with NCT ID "NCT03321630" 1s + Show Error
Verifying "Import response code. Body of response --) Creation of study protocol with NCT ID: NCT03321630 failed as it already exists in CTRP." Expect value is 200 Actual value is 409 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/' features/import/backend/ctrp_import_ct_api_mine.feature:53:in `Given I Import a trial with NCT ID "NCT03321630"' features/import/backend/ctrp_import_ct_api_mine.feature:49:in `Given I Import a trial with NCT ID "(nct_id)"'
And I verify the study type of ctgov 'Interventional' is saved as 'InterventionalStudyProtocol' in ctrp
Given I Import a trial with NCT ID "NCT03329274" 2s
And I verify the study type of ctgov 'Observational [Patient Registry]' is saved as 'NonInterventionalStudyProtocol' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:229:in `/^I verify the study type of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:54:in `And I verify the study type of ctgov 'Observational [Patient Registry]' is saved as 'NonInterventionalStudyProtocol' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:50:in `And I verify the study type of ctgov '(ctgov_study_type)' is saved as '(ctrp_study_type)' in ctrp'
Given I Import a trial with NCT ID "NCT03321591" 3s
And I verify the study type of ctgov 'Observational' is saved as 'NonInterventionalStudyProtocol' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:229:in `/^I verify the study type of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:55:in `And I verify the study type of ctgov 'Observational' is saved as 'NonInterventionalStudyProtocol' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:50:in `And I verify the study type of ctgov '(ctgov_study_type)' is saved as '(ctrp_study_type)' in ctrp'
Given I Import a trial with NCT ID "NCT03317366" 2s
And I verify the study type of ctgov 'Expanded Access' is saved as 'InterventionalStudyProtocol' in ctrp 0s + Show Error
Ctgov xml value and provided ctgov value doesnot match (RuntimeError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:229:in `/^I verify the study type of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:56:in `And I verify the study type of ctgov 'Expanded Access' is saved as 'InterventionalStudyProtocol' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:50:in `And I verify the study type of ctgov '(ctgov_study_type)' is saved as '(ctrp_study_type)' in ctrp'
Given I Import a trial with NCT ID "NCT03275376" 3s
And I verify the study allocation of ctgov 'Randomized' is saved as 'RANDOMIZED_CONTROLLED_TRIAL' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:234:in `/^I verify the study allocation of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:65:in `And I verify the study allocation of ctgov 'Randomized' is saved as 'RANDOMIZED_CONTROLLED_TRIAL' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:62:in `And I verify the study allocation of ctgov '(ctgov_study_allocation)' is saved as '(ctrp_study_allocation)' in ctrp'
Given I Import a trial with NCT ID "NCT02946268" 2s
And I verify the study allocation of ctgov 'Non-Randomized' is saved as 'NON_RANDOMIZED_TRIAL' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:234:in `/^I verify the study allocation of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:66:in `And I verify the study allocation of ctgov 'Non-Randomized' is saved as 'NON_RANDOMIZED_TRIAL' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:62:in `And I verify the study allocation of ctgov '(ctgov_study_allocation)' is saved as '(ctrp_study_allocation)' in ctrp'
Given I Import a trial with NCT ID "NCT03321552" 3s
And I verify interventional study model of ctgov 'Single Group Assignment' is saved as 'SINGLE_GROUP' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:75:in `And I verify interventional study model of ctgov 'Single Group Assignment' is saved as 'SINGLE_GROUP' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'
Given I Import a trial with NCT ID "NCT02653716" 4s
And I verify interventional study model of ctgov 'Parallel Assignment' is saved as 'PARALLEL' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:76:in `And I verify interventional study model of ctgov 'Parallel Assignment' is saved as 'PARALLEL' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'
Given I Import a trial with NCT ID "NCT02905422" 2s
And I verify interventional study model of ctgov 'Crossover Assignment' is saved as 'CROSSOVER' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:77:in `And I verify interventional study model of ctgov 'Crossover Assignment' is saved as 'CROSSOVER' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'
Given I Import a trial with NCT ID "NCT02419144" 2s
And I verify interventional study model of ctgov 'Factorial Assignment' is saved as 'FACTORIAL' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:78:in `And I verify interventional study model of ctgov 'Factorial Assignment' is saved as 'FACTORIAL' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'
Given I Import a trial with NCT ID "NCT03147300" 3s
And I verify interventional study model of ctgov 'Sequential Assignment' is saved as 'SEQUENTIAL_ASSIGNMENT' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:245:in `/^I verify interventional study model of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:79:in `And I verify interventional study model of ctgov 'Sequential Assignment' is saved as 'SEQUENTIAL_ASSIGNMENT' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:72:in `And I verify interventional study model of ctgov '(ctgov_Interventional_Model)' is saved as '(ctrp_Interventional_Model)' in ctrp'
Given I Import a trial with NCT ID "NCT02804386" 2s
And I verify masking field of ctgov 'None (Open Label)' is saved as 'true' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:88:in `And I verify masking field of ctgov 'None (Open Label)' is saved as 'true' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'
Given I Import a trial with NCT ID "NCT02014142" 3s
And I verify masking field of ctgov 'Single (Outcomes Assessor)' is saved as 'OUTCOMES_ASSESSOR' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:89:in `And I verify masking field of ctgov 'Single (Outcomes Assessor)' is saved as 'OUTCOMES_ASSESSOR' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'
Given I Import a trial with NCT ID "NCT02893358" 2s
And I verify masking field of ctgov 'Double (Participant, Investigator)' is saved as 'SUBJECT,INVESTIGATOR' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:90:in `And I verify masking field of ctgov 'Double (Participant, Investigator)' is saved as 'SUBJECT,INVESTIGATOR' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'
Given I Import a trial with NCT ID "NCT11111110" 2s
And I verify masking field of ctgov 'Single-Blind (Participant)' is saved as 'SUBJECT' in ctrp 1s
Given I Import a trial with NCT ID "NCT11111101" 2s
And I verify masking field of ctgov 'Double-Blind (Care Provider, Outcomes Assessor)' is saved as 'CAREGIVER,OUTCOMES_ASSESSOR' in ctrp 1s
Given I Import a trial with NCT ID "NCT11111100" 2s
And I verify masking field of ctgov 'Single Blind (Investigator)' is saved as 'INVESTIGATOR' in ctrp 1s
Given I Import a trial with NCT ID "NCT11111011" 4s
And I verify masking field of ctgov 'Double Blind (Investigator, Care Provider)' is saved as 'INVESTIGATOR,CAREGIVER' in ctrp 1s
Given I Import a trial with NCT ID "NCT00140049" 3s
And I verify masking field of ctgov 'Single' is saved as 'SUBJECT' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:97:in `And I verify masking field of ctgov 'Single' is saved as 'SUBJECT' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'
Given I Import a trial with NCT ID "NCT00350467" 2s
And I verify masking field of ctgov 'Double' is saved as 'SUBJECT,INVESTIGATOR' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:256:in `/^I verify masking field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:98:in `And I verify masking field of ctgov 'Double' is saved as 'SUBJECT,INVESTIGATOR' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:85:in `And I verify masking field of ctgov '(ctgov_masking)' is saved as '(ctrp_masking)' in ctrp'
Given I Import a trial with NCT ID "NCT11111010" 2s
And I verify masking field of ctgov 'Single-Blind' is saved as 'SUBJECT' in ctrp 1s
Given I Import a trial with NCT ID "NCT11111001" 2s
And I verify masking field of ctgov 'Double-Blind' is saved as 'SUBJECT,INVESTIGATOR' in ctrp 1s
Given I Import a trial with NCT ID "NCT11111000" 2s
And I verify masking field of ctgov 'Single Blind' is saved as 'SUBJECT' in ctrp 1s
Given I Import a trial with NCT ID "NCT11110111" 2s
And I verify masking field of ctgov 'Double Blind' is saved as 'SUBJECT,INVESTIGATOR' in ctrp 1s
Given I Import a trial with NCT ID "NCT02701738" 2s
And I verify Primary Purpose of ctgov 'Basic Science' is saved as 'BASIC_SCIENCE' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:111:in `And I verify Primary Purpose of ctgov 'Basic Science' is saved as 'BASIC_SCIENCE' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'
Given I Import a trial with NCT ID "NCT03134261" 2s
And I verify Primary Purpose of ctgov 'Diagnostic' is saved as 'DIAGNOSTIC' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:112:in `And I verify Primary Purpose of ctgov 'Diagnostic' is saved as 'DIAGNOSTIC' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'
Given I Import a trial with NCT ID "NCT03094741" 3s
And I verify Primary Purpose of ctgov 'Health Services Research' is saved as 'HEALTH_SERVICES_RESEARCH' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:113:in `And I verify Primary Purpose of ctgov 'Health Services Research' is saved as 'HEALTH_SERVICES_RESEARCH' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'
Given I Import a trial with NCT ID "NCT02996435" 3s
And I verify Primary Purpose of ctgov 'Other' is saved as 'OTHER' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:114:in `And I verify Primary Purpose of ctgov 'Other' is saved as 'OTHER' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'
Given I Import a trial with NCT ID "NCT02442739" 4s
And I verify Primary Purpose of ctgov 'Prevention' is saved as 'PREVENTION' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:115:in `And I verify Primary Purpose of ctgov 'Prevention' is saved as 'PREVENTION' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'
Given I Import a trial with NCT ID "NCT02790125" 3s
And I verify Primary Purpose of ctgov 'Screening' is saved as 'SCREENING' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:116:in `And I verify Primary Purpose of ctgov 'Screening' is saved as 'SCREENING' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'
Given I Import a trial with NCT ID "NCT02727985" 3s
And I verify Primary Purpose of ctgov 'Supportive Care' is saved as 'SUPPORTIVE_CARE' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:117:in `And I verify Primary Purpose of ctgov 'Supportive Care' is saved as 'SUPPORTIVE_CARE' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'
Given I Import a trial with NCT ID "NCT02554812" 4s
And I verify Primary Purpose of ctgov 'Treatment' is saved as 'TREATMENT' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:118:in `And I verify Primary Purpose of ctgov 'Treatment' is saved as 'TREATMENT' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'
Given I Import a trial with NCT ID "NCT03403413" 3s
And I verify Primary Purpose of ctgov 'Device Feasibility' is saved as 'DEVICE' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:323:in `/^I verify Primary Purpose of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:119:in `And I verify Primary Purpose of ctgov 'Device Feasibility' is saved as 'DEVICE' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:108:in `And I verify Primary Purpose of ctgov '(ctgov_primary_purpose)' is saved as '(ctrp_primary_purpose)' in ctrp'
Given I Import a trial with NCT ID "NCT02714426" 2s
And I verify the arm of ctgov 'Active Comparator' is saved as 'ACTIVE_COMPARATOR' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:139:in `And I verify the arm of ctgov 'Active Comparator' is saved as 'ACTIVE_COMPARATOR' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'
Given I Import a trial with NCT ID "NCT01848860" 3s
And I verify the arm of ctgov 'Sham Comparator' is saved as 'SHAM_COMPARATOR' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:140:in `And I verify the arm of ctgov 'Sham Comparator' is saved as 'SHAM_COMPARATOR' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'
Given I Import a trial with NCT ID "NCT00970619" 3s
And I verify the arm of ctgov 'No Intervention' is saved as 'NO_INTERVENTION' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:141:in `And I verify the arm of ctgov 'No Intervention' is saved as 'NO_INTERVENTION' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'
Given I Import a trial with NCT ID "NCT02930018" 4s
And I verify the arm of ctgov 'Placebo Comparator' is saved as 'PLACEBO_COMPARATOR' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:142:in `And I verify the arm of ctgov 'Placebo Comparator' is saved as 'PLACEBO_COMPARATOR' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'
Given I Import a trial with NCT ID "NCT03310996" 3s
And I verify the arm of ctgov 'Experimental' is saved as 'EXPERIMENTAL' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:143:in `And I verify the arm of ctgov 'Experimental' is saved as 'EXPERIMENTAL' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'
Given I Import a trial with NCT ID "NCT02857400" 2s
And I verify the arm of ctgov 'Other' is saved as 'OTHER' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:368:in `/^I verify the arm of ctgov '([^"]*)' is saved as '([^"]*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:144:in `And I verify the arm of ctgov 'Other' is saved as 'OTHER' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:136:in `And I verify the arm of ctgov '(ctgov_arm)' is saved as '(ctrp_arm)' in ctrp'
Given I Import a trial with NCT ID "NCT03324555" 3s
And I verify the gender field of ctgov 'All' is saved as 'BOTH' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:383:in `/^I verify the gender field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:153:in `And I verify the gender field of ctgov 'All' is saved as 'BOTH' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:150:in `And I verify the gender field of ctgov '(ctgov_gender)' is saved as '(ctrp_sex)' in ctrp'
Given I Import a trial with NCT ID "NCT03324204" 3s
And I verify the gender field of ctgov 'Female' is saved as 'FEMALE' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:383:in `/^I verify the gender field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:154:in `And I verify the gender field of ctgov 'Female' is saved as 'FEMALE' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:150:in `And I verify the gender field of ctgov '(ctgov_gender)' is saved as '(ctrp_sex)' in ctrp'
Given I Import a trial with NCT ID "NCT03323801" 3s
And I verify the gender field of ctgov 'Male' is saved as 'MALE' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:383:in `/^I verify the gender field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:155:in `And I verify the gender field of ctgov 'Male' is saved as 'MALE' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:150:in `And I verify the gender field of ctgov '(ctgov_gender)' is saved as '(ctrp_sex)' in ctrp'
Given I Import a trial with NCT ID "NCT01599559" 3s
And I verify the age field of ctgov 'N/A' is saved as '999 Years' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:394:in `/^I verify the age field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:163:in `And I verify the age field of ctgov 'N/A' is saved as '999 Years' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:160:in `And I verify the age field of ctgov '(ctgov_age)' is saved as '(ctrp_age)' in ctrp'
Given I Import a trial with NCT ID "NCT01715909" 4s
And I verify the age field of ctgov 'N/A' is saved as '0 Years' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:394:in `/^I verify the age field of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:164:in `And I verify the age field of ctgov 'N/A' is saved as '0 Years' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:160:in `And I verify the age field of ctgov '(ctgov_age)' is saved as '(ctrp_age)' in ctrp'
Given I Import a trial with NCT ID "NCT12121212" 3s
And I verify the age units field of ctgov 'Years' is saved as 'Years' in ctrp 1s
Given I Import a trial with NCT ID "NCT21212121" 3s
And I verify the age units field of ctgov 'Year' is saved as 'Years' in ctrp 1s
Given I Import a trial with NCT ID "NCT13131313" 2s
And I verify the age units field of ctgov 'Month' is saved as 'Months' in ctrp 1s
Given I Import a trial with NCT ID "NCT31313131" 2s
And I verify the age units field of ctgov 'Months' is saved as 'Months' in ctrp 1s
Given I Import a trial with NCT ID "NCT14141414" 3s
And I verify the age units field of ctgov 'Week' is saved as 'Weeks' in ctrp 1s
Given I Import a trial with NCT ID "NCT41414141" 3s
And I verify the age units field of ctgov 'Weeks' is saved as 'Weeks' in ctrp 1s
Given I Import a trial with NCT ID "NCT15151515" 3s
And I verify the age units field of ctgov 'Day' is saved as 'Days' in ctrp 1s
Given I Import a trial with NCT ID "NCT51515151" 3s
And I verify the age units field of ctgov 'Days' is saved as 'Days' in ctrp 1s
Given I Import a trial with NCT ID "NCT16161616" 3s
And I verify the age units field of ctgov 'Hour' is saved as 'Hours' in ctrp 1s
Given I Import a trial with NCT ID "NCT61616161" 2s
And I verify the age units field of ctgov 'Hours' is saved as 'Hours' in ctrp 1s
Given I Import a trial with NCT ID "NCT17171717" 3s
And I verify the age units field of ctgov 'Minute' is saved as 'Minutes' in ctrp 1s
Given I Import a trial with NCT ID "NCT71717171" 3s
And I verify the age units field of ctgov 'Minutes' is saved as 'Minutes' in ctrp 1s
Given I Import a trial with NCT ID "NCT03325933" 3s
And I verify Accepts Healthy Volunteers? field is saved in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:436:in `/^I verify Accepts Healthy Volunteers\? field is saved in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:188:in `And I verify Accepts Healthy Volunteers? field is saved in ctrp'
Given I Import a trial with NCT ID "NCT03308097" 3s
And I verify Gender based/Description fields of ctgov 'Yes' is saved as 'true' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:446:in `/^I verify Gender based\/Description fields of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:196:in `And I verify Gender based/Description fields of ctgov 'Yes' is saved as 'true' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:193:in `And I verify Gender based/Description fields of ctgov '(ctgov_gender_based)' is saved as '(ctrp_gender_based)' in ctrp'
Given I Import a trial with NCT ID "NCT03265314" 3s
And I verify Gender based/Description fields of ctgov 'Yes' is saved as 'true' in ctrp 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_mine.rb:446:in `/^I verify Gender based\/Description fields of ctgov '(.*)' is saved as '(.*)' in ctrp$/' features/import/backend/ctrp_import_ct_api_mine.feature:197:in `And I verify Gender based/Description fields of ctgov 'Yes' is saved as 'true' in ctrp' features/import/backend/ctrp_import_ct_api_mine.feature:193:in `And I verify Gender based/Description fields of ctgov '(ctgov_gender_based)' is saved as '(ctrp_gender_based)' in ctrp'
Given I Import a trial with NCT ID "NCT91919191" 2s
And I verify each regulatory information fields of ctgov are saved as 'false' in ctrp 0s
Given I Import a trial with NCT ID "NCT19191919" 2s
And I verify each regulatory information fields of ctgov are saved as 'true' in ctrp 0s
Given I Import a trial with NCT ID "NCT18181818" 2s
And I verify study observational model,date types actual and anticipated are saved in ctrp 1s
Given I Import a trial with NCT ID "NCT81818181" 2s
And I verify study observational model,date types actual and anticipated are saved in ctrp 2s
Given I Import a trial with NCT ID "NCT00674089" 4s
And I verify day is saved as '01' in ctrp 1s
Given I ReImport a trial with NCT ID "NCT02376023" 1s
Then the response code should be '409' 0s
And I verify the response body is 'Creation of study protocol with NCT ID: NCT02376023 failed as it already exists in CTRP.' 0s
Given I Import a trial with NCT ID "NCT03163225" 3s
Then I verify category code is populated as 'ELIGIBILITY_CRITERION' in db 1s
Given I update a trial with NCT ID "NCT03163199" 2s
Then I verify category code is populated as 'ELIGIBILITY_CRITERION' in db 1s
Given I Import a trial with NCT ID "NCT01010101" 2s
Then I verify new org is created 0s
Given I am logged in to PA 30s
And I want to Import the trial with NCT ID "NCT03093480" in PA 5s
Then the import should be "Message. Trial NCT03093480 has been imported and registered in CTRP system successfully." in PA 0s
Given I am logged in to Registry 6s
And I want to Import the trial with NCT ID "NCT03093480" in Registry 7s
Then the import should be "Message: Trial NCT03093480 has been imported and registered in CTRP system successfully." in Registry 0s
Given I am logged in to PA 30s
And I want to make an update to the Imported trial with NCT ID "NCT03093480" 7s
Then I verify the update of an import message 1s
Given I am logged in to PA 3s
And I want to Import the trial with NCT ID "NCT03269123" in PA 6s
Then I should be able to View the log of Imported Trial 4s
Given I am logged in to PA 3s
And I want to Import the trial with NCT ID "NCT03093480" in PA 6s
Then the import should be "Message. Trial NCT03093480 has been imported and registered in CTRP system successfully." in PA 0s
And I should be able to search with the NCT ID "NCT03093480" 3s
And I should be able to select the Trial using NCT ID "NCT03093480" 25s
And below field headers should match 0s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_UI.rb:172:in `/^below field headers should match$/' features/import/ui/ctrp_import_ct_api_UI.feature:38:in `And below field headers should match'
Given I am logged in to PA 5s
And I want to Import the trial with NCT ID "NCT03103750" in PA 6s
Then the import should be "Message. Trial NCT03103750 has been imported and registered in CTRP system successfully." in PA 0s
And I should be able to search with the NCT ID "NCT03103750" 6s
And I should be able to select the Trial using NCT ID "NCT03103750" 29s
And In the Trial Identification below fields should match 7s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_UI.rb:232:in `/^In the Trial Identification below fields should match$/' features/import/ui/ctrp_import_ct_api_UI.feature:57:in `And In the Trial Identification below fields should match'
Given I am logged in to PA 4s
And I want to Import the trial with NCT ID "NCT03103750" in PA 6s
Then the import should be "Message. Trial NCT03103750 has been imported and registered in CTRP system successfully." in PA 0s
And I should be able to search with the NCT ID "NCT03103750" 3s
And I navigate to Trial Validation page using NCT ID "NCT03103750" 14s
And In the Trial Validation below fields should match 1s + Show Error
undefined method `[]' for nil:NilClass (NoMethodError) ./features/step_definitions/ctrp_import_ct_api_UI.rb:271:in `/^In the Trial Validation below fields should match$/' features/import/ui/ctrp_import_ct_api_UI.feature:75:in `And In the Trial Validation below fields should match'
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 8s
When I go to "Design Details" section in PA app 6s
Then new fields with Interventional study Model and Primary Purpose should be there 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 7s
When I go to "Design Details" section in PA app 6s
Then I verify new field "Model Description" should be there 0s
Then I verify new field "Masking Description" should be there 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 5s
When I go to "Design Details" section in PA app 6s
Then these existing fields should be updated 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 7s
When I go to "Design Details" section in PA app 6s
Then these existing fields should be updated 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 7s
When I go to "Design Details" section in PA app 6s
Then these existing fields should be removed 18s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 5s
Then these existing fields should be updated 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 5s
Then the conditional fields should be 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 6s
Then Interventional Study Model is a required field 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 5s
Then I verify validations for primary purpose "", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "1", masking "noMasking", allocation "NA", target enrollment "1", error message "Primary Purpose must be Entered" 3s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 4s
Then I verify validations for primary purpose "Treatment", trial phase "", Interventional Study Model "Single Group", Number of Arms "1", masking "noMasking", allocation "NA", target enrollment "1", error message "Trial Phase must be Entered" 3s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 5s
Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "", Number of Arms "1", masking "noMasking", allocation "NA", target enrollment "1", error message "Intervention Model must be Entered" 5s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 6s
Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "", masking "noMasking", allocation "NA", target enrollment "1", error message "Number of Arms must be Entered" 3s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 5s
Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "1", masking "", allocation "NA", target enrollment "1", error message "Masking must be Entered" 4s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 6s
Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "1", masking "noMasking", allocation "", target enrollment "1", error message "Allocation must be Entered" 5s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I go to "Design Details" section in PA app 4s
Then I verify validations for primary purpose "Treatment", trial phase "Early Phase I", Interventional Study Model "Single Group", Number of Arms "1", masking "noMasking", allocation "NA", target enrollment "", error message "Target Enrollment must be Entered" 5s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 7s
When I go to "Design Details" section in PA app 5s
And I enter all details except mandatory fields in Design Details page 6s
Then I verify below error messages are displayed in Design Details page for mandatory fields 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02798" 6s
When I go to "Design Details" section in PA app 5s
Then I enter each trial phase from the below list and verify 'Is this a Pilot?' field has default value as '--Select--' 6s
Given I run the rest service to generate new NCI ID 3s
When I login into CTRP and search for a trial with generated NCI ID 6s
Then I click on "Trial Validation" link 6s
Then I enter each trial phase from below list on and verify 'Is this a Pilot?' has default value as '--Select--' in trial validation page 7s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 6s
Then I click on "Trial Validation" link 7s
Then I enter trial phase as "III" on trial validation page 1s
And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 1s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 5s
Then I click on "Trial Validation" link 6s
Then I enter trial phase as "III" on trial validation page 1s
And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s
Then I click on save button in trial validation page 5s
And I connect to the database and verify the pilot value is updated 1s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 6s
Then I click on "Trial Validation" link 8s
Then I enter trial phase as "III" on trial validation page 2s
And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 0s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 6s
Then I click on "Trial Validation" link 6s
Then I enter trial phase as "NA" on trial validation page 1s
And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 1s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 7s
Then I click on "Trial Validation" link 6s
Then I enter trial phase as "NA" on trial validation page 1s
And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 6s
Then I click on "Trial Validation" link 5s
Then I enter trial phase as "NA" on trial validation page 1s
And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 0s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02797" 8s
When I go to "Design Details" section in PA app 7s
Then I enter each trial phase from the below list and verify 'Is this a Pilot?' field has default value as '--Select--' 8s
Given I run the rest service to generate new non-interventional NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 8s
Then I click on "Trial Validation" link 8s
Then I enter each trial phase from below list on and verify 'Is this a Pilot?' has default value as '--Select--' in trial validation page 7s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 9s
When I go to "Design Details" section in PA app 8s
Then I enter trial phase as "IV" 1s
And I enter 'Is this a Pilot?' field value as "Yes" 1s
Then I click on save button in design details page 2s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 7s
When I go to "Design Details" section in PA app 6s
Then I enter trial phase as "IV" 0s
And I enter 'Is this a Pilot?' field value as "No" 1s
Then I click on save button in design details page 3s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 9s
When I go to "Design Details" section in PA app 7s
Then I enter trial phase as "IV" 0s
And I enter 'Is this a Pilot?' field value as "--Select--" 1s
Then I click on save button in design details page 3s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 7s
When I go to "Design Details" section in PA app 6s
Then I enter trial phase as "NA" 1s
And I enter 'Is this a Pilot?' field value as "Yes" 1s
Then I click on save button in design details page 2s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 9s
When I go to "Design Details" section in PA app 6s
Then I enter trial phase as "NA" 0s
And I enter 'Is this a Pilot?' field value as "No" 1s
Then I click on save button in design details page 3s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02626" 8s
When I go to "Design Details" section in PA app 8s
Then I enter trial phase as "NA" 0s
And I enter 'Is this a Pilot?' field value as "--Select--" 1s
Then I click on save button in design details page 2s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02811" 8s
When I go to "Design Details" section in PA app 6s
Then I enter each trial phase from the below list and verify 'Is this a Pilot?' field has default value as '--Select--' 9s
When I login into CTRP and search for a trial with NCI ID "NCI-2017-02813" 8s
Then I click on "Trial Validation" link 7s
Then I enter each trial phase from below list on and verify 'Is this a Pilot?' has default value as '--Select--' in trial validation page 7s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 7s
When I go to "Design Details" section in PA app 7s
Then I enter trial phase as "I/II" 1s
And I enter 'Is this a Pilot?' field value as "Yes" 1s
Then I click on save button in design details page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 9s
When I go to "Design Details" section in PA app 7s
Then I enter trial phase as "I/II" 0s
And I enter 'Is this a Pilot?' field value as "No" 1s
Then I click on save button in design details page 4s
And I connect to the database and verify the pilot value is updated 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 8s
When I go to "Design Details" section in PA app 8s
Then I enter trial phase as "I/II" 0s
And I enter 'Is this a Pilot?' field value as "--Select--" 1s
Then I click on save button in design details page 5s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 8s
When I go to "Design Details" section in PA app 6s
Then I enter trial phase as "NA" 1s
And I enter 'Is this a Pilot?' field value as "Yes" 1s
Then I click on save button in design details page 3s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 8s
When I go to "Design Details" section in PA app 7s
Then I enter trial phase as "NA" 0s
And I enter 'Is this a Pilot?' field value as "No" 1s
Then I click on save button in design details page 3s
And I connect to the database and verify the pilot value is updated 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02814" 7s
When I go to "Design Details" section in PA app 6s
Then I enter trial phase as "NA" 0s
And I enter 'Is this a Pilot?' field value as "--Select--" 1s
Then I click on save button in design details page 3s
And I connect to the database and verify the pilot value is updated 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 8s
Then I click on "Trial Validation" link 7s
Then I enter trial phase as "III" on trial validation page 1s
And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 1s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 8s
Then I click on "Trial Validation" link 8s
Then I enter trial phase as "III" on trial validation page 0s
And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 7s
Then I click on "Trial Validation" link 9s
Then I enter trial phase as "III" on trial validation page 1s
And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 1s
Then I click on save button in trial validation page 5s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 7s
Then I click on "Trial Validation" link 9s
Then I enter trial phase as "NA" on trial validation page 3s
And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 1s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 7s
Then I click on "Trial Validation" link 8s
Then I enter trial phase as "NA" on trial validation page 0s
And I enter 'Is this a Pilot?' field value as "No" on trial validation page 2s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02816" 8s
Then I click on "Trial Validation" link 7s
Then I enter trial phase as "NA" on trial validation page 0s
And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 2s
Then I click on save button in trial validation page 5s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02817" 8s
When I go to "Design Details" section in PA app 7s
Then I enter each trial phase from the below list and verify 'Is this a Pilot?' field has default value as '--Select--' 6s
When I login into CTRP and search for a trial with NCI ID "NCI-2017-02819" 6s
Then I click on "Trial Validation" link 6s
Then I enter each trial phase from below list on and verify 'Is this a Pilot?' has default value as '--Select--' in trial validation page 6s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 5s
When I go to "Design Details" section in PA app 6s
Then I enter trial phase as "II" 1s
And I enter 'Is this a Pilot?' field value as "Yes" 1s
Then I click on save button in design details page 0s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 6s
When I go to "Design Details" section in PA app 5s
Then I enter trial phase as "II" 1s
And I enter 'Is this a Pilot?' field value as "No" 0s
Then I click on save button in design details page 0s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 7s
When I go to "Design Details" section in PA app 5s
Then I enter trial phase as "II" 1s
And I enter 'Is this a Pilot?' field value as "--Select--" 0s
Then I click on save button in design details page 0s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 6s
When I go to "Design Details" section in PA app 5s
Then I enter trial phase as "NA" 1s
And I enter 'Is this a Pilot?' field value as "Yes" 1s
Then I click on save button in design details page 0s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 7s
When I go to "Design Details" section in PA app 6s
Then I enter trial phase as "NA" 0s
And I enter 'Is this a Pilot?' field value as "No" 0s
Then I click on save button in design details page 0s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02818" 6s
When I go to "Design Details" section in PA app 7s
Then I enter trial phase as "NA" 1s
And I enter 'Is this a Pilot?' field value as "--Select--" 0s
Then I click on save button in design details page 0s
And I connect to the database and verify the pilot value is updated 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 7s
Then I click on "Trial Validation" link 6s
Then I enter trial phase as "I" on trial validation page 1s
And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 1s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 6s
Then I click on "Trial Validation" link 7s
Then I enter trial phase as "I" on trial validation page 0s
And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 5s
Then I click on "Trial Validation" link 7s
Then I enter trial phase as "I" on trial validation page 0s
And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 1s
Then I click on save button in trial validation page 3s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 6s
Then I click on "Trial Validation" link 5s
Then I enter trial phase as "NA" on trial validation page 1s
And I enter 'Is this a Pilot?' field value as "Yes" on trial validation page 1s
Then I click on save button in trial validation page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 8s
Then I click on "Trial Validation" link 6s
Then I enter trial phase as "NA" on trial validation page 0s
And I enter 'Is this a Pilot?' field value as "No" on trial validation page 1s
Then I click on save button in trial validation page 3s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02820" 6s
Then I click on "Trial Validation" link 4s
Then I enter trial phase as "NA" on trial validation page 0s
And I enter 'Is this a Pilot?' field value as "--Select--" on trial validation page 0s
Then I click on save button in trial validation page 5s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02762" 8s
Then I click on "Sub-groups" link 7s
And I click on add 3s
Then I enter code and description and click save 4s
And I connect to database and verify subgroup information is saved successfully 0s
Given I Update a complete (Non-Interventional) trial in CTRP using RESTful service for "NCI-2017-02621" 1s
Then I verify the response status of rest service is '200' 0s
And I verify record is updated in database 0s
Given I Create a complete (Non-Interventional) trial(with expandedAccess yes) in CTRP using RESTful service with FDAAA fields 2s
Then I verify the response status of rest service is '200' with FDAAA fields 0s
And the rest service should generate an NCI ID 0s
Then I verify the new field expandedAccess is updated as yes in DynamoDB for the generated NCI ID 0s
Given I Create a complete (Non-Interventional) trial(with expandedAccess no) in CTRP using RESTful service with FDAAA fields 3s
Then I verify the response status of rest service is '200' with FDAAA fields 0s
And the rest service should generate an NCI ID 0s
And I verify the new field expandedAccess is updated as no in DynamoDB for the generated NCI ID 0s
Given I Create a complete (Non-Interventional) trial(with expandedAccess unknown) in CTRP using RESTful service with FDAAA fields 3s
Then I verify the response status of rest service is '200' with FDAAA fields 0s
And the rest service should generate an NCI ID 0s
And I verify the new field expandedAccess is updated as unknown in DynamoDB for the generated NCI ID 0s
Given I Create a complete (Interventional) trial in CTRP using RESTful service with FDAAA fields 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
And I verify the new regulatory Information fields are updated in the DynamoDB 0s
Given I Amend a complete (Interventional) trial in CTRP using RESTful service with NCI ID "NCI-2017-02623" 4s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
And I verify new regulatory Information fields are updated in the DynamoDB 0s
Given I Create a complete (Non-Interventional) trial in CTRP using RESTful service with FDAAA fields 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
And I verify the new regulatory Information fields are updated in the DynamoDB 0s
Given I Amend a complete (Non-Interventional) trial in CTRP using RESTful service with NCI ID "NCI-2017-02624" 5s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
And I verify new regulatory Information fields are updated in the DynamoDB 0s
Given I Create an Abbreviated trial with NCT ID "NCT00421486" using RESTful service with FDAAA fields 2s
Then I verify the response status of rest service is '200' 0s
And I verify the an NCI ID is generated successfully 0s
Given I Update an Abbreviated trial in CTRP using RESTful service for NCI ID "NCI-2017-02587" 1s
Then I verify the response status of rest service is '200' 0s
And I verify the abbreviated trial is updated successfully 0s
And I verify record is updated in database for Abbreviated trial 0s
Given I POST invalid xml into ctrp using RESTful service 0s
Then I verify the response status of rest service is '400' 0s
And I see Validation error message "Validation Exception The NCT Trial Identifier provided is tied to another trial in CTRP system." is displayed 0s
Given I POST a complete trial xml using RESTful service with invalid Username 0s
Then I verify the response status of rest service is '401' 0s
And I see the Validation error message "This request requires HTTP authentication." is displayed 0s
Given I POST a complete trial xml using RESTful service with invalid POId for Person 0s
Then I verify the response status of rest service is '404' 0s
And I see Validation error message "Organization with PO ID of 123456 cannot be found in PO." is displayed 0s
Given I Add Accuring CTEP Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02667" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02667" 0s
And I verify the values with the original payload for Participating Site Add Accuring CTEP 0s
Given I Add Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02669" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02669" 0s
And I verify the values with the original payload for Participating Site Add 0s
Given I Add Cancer Center Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02670" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02670" 0s
And I verify the values with the original payload for Participating Site Add Cancer Center 0s
Given I Add minimum info in Participating Site with CTRP using RESTful service for NCI ID "NCI-2017-02671" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02671" 0s
And I verify the values with the original payload for Participating Site Add minimum info 0s
Given I Add Non Cancer Center Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02672" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02672" 0s
And I verify the values with the original payload for Participating Site Add Non Cancer Center 0s
Given I Add Non Cancer Center Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02673" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02673" 0s
And I verify the values with the original payload for Participating Site Add Non Cancer Center 0s
Given I Add biz validation Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02674" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02674" 0s
And I verify the values with the original payload for Participating Site Add biz validation 0s
Given I Add phone validation for Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02676" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02676" 0s
And I verify the values with the original payload for Participating Site Add phone validation 0s
Given I Add invalid phone validation for Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02693" 0s
Then I verify the response status of rest service is code '400' 0s
And I see Validation error message "Invalid primary contact phone: 75-0356666" is displayed 0s
Given I Update Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02692" and "2" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02692" 0s
And I verify the values with the original payload for Update Participating Site 0s
Given I Update Participating Site with duplicate site in CTRP using RESTful service for NCI ID "NCI-2017-02694" and "2" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02694" 0s
And I verify the values with the original payload for Update Participating Site with Duplicate Site 0s
Given I Update Participating Site with minimum info in CTRP using RESTful service for NCI ID "NCI-2017-02695" and "2" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02695" 0s
And I verify the values with the original payload for Participating Site with minimum info 0s
Given I Update Participating Site with primary contact in CTRP using RESTful service for NCI ID "NCI-2017-02717" and "5625" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02717" 0s
And I verify the values with the original payload for Participating Site with primary contact 0s
Given I Update Participating Site with primary contact existing person in CTRP using RESTful service for NCI ID "NCI-2017-02675" and "2334" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02675" 0s
And I verify the values with the original payload for Participating Site with primary contact existing person 0s
Given I Add new primary contact for integration_ps_with_pc_add Participating Site in CTRP using RESTful service for "NCI-2017-02696" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02696" 0s
And I verify the values with the original payload for Participating Site Add new primary contact for integration_ps_with_pc_add 0s
Given I Add new primary contact for integration_ps_with_pc_as_existing_person_add Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02697" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02697" 0s
And I verify the values with the original payload for Participating Site Add new primary contact for integration_ps_with_pc_as_existing_person_add 0s
Given I Add new primary contact for integration_ps_with_pc_conflicting_designation Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02698" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02698" 0s
And I verify the values with the original payload for Participating Site Add new primary contact for integration_ps_with_pc_conflicting_designation 0s
Given I Add new primary contact for integration_ps_without_primary_contact_add Participating Site in CTRP using RESTful service for NCI ID "NCI-2017-02699" 0s
Then I verify the response status of rest service is code '400' 0s
Given I Create a complete trial for integration_register_complete_invalid_startdate_dataset in CTRP using RESTful service 0s
Then I verify the response status of rest service is '400' 0s
And I see Validation error message is displayed for integration_register_complete_invalid_startdate_dataset 0s
Given I Create a complete trial for integration_register_complete_minimal_dataset_accrual in CTRP using RESTful service 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database for integration_register_complete_minimal_dataset_accrual 0s
Given I Create a complete trial for integration_register_complete_non_ctgov_but_with_data in CTRP using RESTful service 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database 0s
Given I Create a complete trial for integration_register_complete_nonctgov_minimal_data in CTRP using RESTful service 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database for integration_register_complete_nonctgov_minimal_data 0s
Given I Create a complete trial for integration_register_complete_nonCtGov_success in CTRP using RESTful service 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database for integration_register_complete_nonCtGov_success 0s
Given I Create a complete trial for integration_register_complete_nonInt_success in CTRP using RESTful service 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database 0s
Given I Create a complete trial for integration_register_complete_orgs_persons_ctepid in CTRP using RESTful service 3s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database 0s
Given I Create a complete trial for integration_register_complete_resp_party_pi in CTRP using RESTful service 3s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database 0s
Given I Create a complete trial for integration_register_complete_resp_party_si in CTRP using RESTful service 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database 1s
Given I Create a complete trial for integration_register_complete_schema_violation in CTRP using RESTful service 0s
Then I verify the response status of rest service is '400' 0s
Given I Create a complete trial for integration_register_complete_success in CTRP using RESTful service 3s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database 0s
Given I Create a complete trial for integration_register_complete_success_no_dcp in CTRP using RESTful service 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database 0s
Given I Create a complete trial for integration_register_complete_validation_error in CTRP using RESTful service 0s
Then I verify the response status of rest service is '400' 0s
And I see Validation error message is displayed for integration_register_complete_validation_error 0s
Given I Create a complete trial for integration_register_non_cancer_center_with_program_codes in CTRP using RESTful service 2s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Then I verify all the fields are saved in database 0s
Given Update a Abbreviated trial for integration_update_abbr_empty in CTRP using RESTful service for NCI ID "NCI-2017-02760" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an NCI ID 0s
Given Update a Abbreviated trial for integration_update_abbr_schema_violation in CTRP using RESTful service for NCI ID "NCI-2017-02587" 0s
Then I verify the response status of rest service is '400' 0s
Given I Update a complete trial for integration_update_complete_biz_validation in CTRP using RESTful service for "NCI-2017-02751" 2s
Then I verify the response status of rest service is '200' 0s
And I verify record is updated in database 0s
Given I Update a complete trial for integration_update_complete_closed_trial in CTRP using RESTful service for "NCI-2017-02753" 2s
Then I verify the response status of rest service is '200' 0s
And I verify record is updated in database for integration_update_complete_closed_trial 0s
Given I Update a complete trial for integration_update_complete_irb_only in CTRP using RESTful service for "NCI-2017-02754" 1s
Then I verify the response status of rest service is '200' 0s
And I verify record is updated in database for integration_update_complete_irb_only 0s
Given I Update a complete trial for integration_update_complete_no_changes in CTRP using RESTful service for "NCI-2017-02755" 1s
Then I verify the response status of rest service is '200' 0s
And I verify record is updated in database for integration_update_complete_no_changes 0s
Given I Update a complete trial for integration_update_complete_other_docs in CTRP using RESTful service for "NCI-2017-02756" 1s
Then I verify the response status of rest service is '200' 0s
And I verify record is updated in database for integration_update_complete_other_docs 0s
Given I Update a complete trial for integration_update_complete_other_ids in CTRP using RESTful service for "NCI-2017-02757" 1s
Then I verify the response status of rest service is '200' 0s
And I verify record is updated in database for integration_update_complete_other_ids 0s
Given I Update a complete trial for integration_update_complete_schema_violation in CTRP using RESTful service for "NCI-2017-02661" 0s
Then I verify the response status of rest service is '400' 0s
Given I Create a complete "Interventional" trial in CTRP using RESTful service with "phase" as "0" 2s
Then I verify the response status of rest service is '200' 0s
And I verify in DB "phase" is stored as "O" 0s
Given I Create a complete "Non-Interventional" trial in CTRP using RESTful service with "phase" as "0" 2s
Then I verify the response status of rest service is '200' 0s
And I verify in DB "phase" is stored as "O" 0s
Given I Create a complete "Interventional" trial in CTRP using RESTful service with "phase" as "Early Phase I" 2s
Then I verify the response status of rest service is '200' 0s
And I verify in DB "phase" is stored as "O" 0s
Given I Create a complete "Non-Interventional" trial in CTRP using RESTful service with "phase" as "Early Phase I" 2s
Then I verify the response status of rest service is '200' 0s
And I verify in DB "phase" is stored as "O" 0s
Given I Create a complete "Interventional" trial in CTRP using RESTful service with "phase" as "2" 0s
Then I verify the response status of rest service is '400' 0s
And I verify in response it contains "cvc-enumeration-valid: Value '2' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s
Given I Create a complete "Non-Interventional" trial in CTRP using RESTful service with "phase" as "2" 0s
Then I verify the response status of rest service is '400' 0s
And I verify in response it contains "cvc-enumeration-valid: Value '2' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s
Given I Create a complete "Interventional" trial in CTRP using RESTful service with "phase" as "" 0s
Then I verify the response status of rest service is '400' 0s
And I verify in response it contains "cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s
Given I Create a complete "Non-Interventional" trial in CTRP using RESTful service with "phase" as "" 0s
Then I verify the response status of rest service is '400' 0s
And I verify in response it contains "cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s
Given I Amend a complete "Interventional" trial "NCI-2017-02949" in CTRP using RESTful service with "phase" as "0" 5s
Then I verify the response status of rest service is '200' 0s
And I verify in DB "phase" is stored as "O" 0s
Given I Amend a complete "Non-Interventional" trial "NCI-2017-02942" in CTRP using RESTful service with "phase" as "0" 4s
Then I verify the response status of rest service is '200' 0s
And I verify in DB "phase" is stored as "O" 0s
Given I Amend a complete "Interventional" trial "NCI-2017-02943" in CTRP using RESTful service with "phase" as "Early Phase I" 4s
Then I verify the response status of rest service is '200' 0s
And I verify in DB "phase" is stored as "O" 0s
Given I Amend a complete "Non-Interventional" trial "NCI-2017-02944" in CTRP using RESTful service with "phase" as "Early Phase I" 4s
Then I verify the response status of rest service is '200' 0s
And I verify in DB "phase" is stored as "O" 0s
Given I Amend a complete "Interventional" trial "NCI-2017-02945" in CTRP using RESTful service with "phase" as "2" 0s
Then I verify the response status of rest service is '400' 0s
And I verify in response it contains "cvc-enumeration-valid: Value '2' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s
Given I Amend a complete "Non-Interventional" trial "NCI-2017-02946" in CTRP using RESTful service with "phase" as "2" 0s
Then I verify the response status of rest service is '400' 0s
And I verify in response it contains "cvc-enumeration-valid: Value '2' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s
Given I Amend a complete "Interventional" trial "NCI-2017-02947" in CTRP using RESTful service with "phase" as "" 0s
Then I verify the response status of rest service is '400' 0s
And I verify in response it contains "cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s
Given I Amend a complete "Non-Interventional" trial "NCI-2017-02948" in CTRP using RESTful service with "phase" as "" 0s
Then I verify the response status of rest service is '400' 0s
And I verify in response it contains "cvc-enumeration-valid: Value '' is not facet-valid with respect to enumeration '[Early Phase I, 0, I, I/II, II, II/III, III, IV, NA]'. It must be a value from the enumeration." 0s
Given I create a complete trial in CTRP using RESTful service with trial_status as "Available" 2s
Then I verify the response status of rest service is '200' 0s
Given I create a complete trial in CTRP using RESTful service with trial_status as "No Longer Available" 2s
Then I verify the response status of rest service is '200' 0s
Given I create a complete trial in CTRP using RESTful service with trial_status as "Temporarily not Available" 2s
Then I verify the response status of rest service is '200' 0s
Given I create a complete trial in CTRP using RESTful service with trial_status as "Approved for Marketing" 2s
Then I verify the response status of rest service is '200' 0s
Given I login into CTRP Registry 17s
When I search for a trial "NCI-2017-02636" and click on Amend 6s
Then I go to Regulatory Information section 6s
And "Trial Oversight Authority Country :" field is not displayed in Regulatory Information(Reg) screen 6s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02636" and click on Amend 6s
Then I go to Regulatory Information section 6s
And "Trial Oversight Authority Organization Name :" field is not displayed in the Regulatory Information(Reg) screen 6s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02636" and click on Amend 6s
Then I go to Regulatory Information section 6s
And the newly added fields with options should be there 11s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02636" and click on Amend 4s
Then I go to Regulatory Information section 5s
And I select Yes for the field Studies a U.S. FDA-regulated Device Product 1s
Then the existing field Delayed Posting Indicator should be updated to "Unapproved/Uncleared Device :" 1s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02636" and click on Amend 5s
Then I go to Regulatory Information section 5s
And I select FDA Regulated Intervention Indicator field as No 2s
Then Section 801 Indicator field should not be visible 0s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02636" and click on Amend 4s
Then I go to Regulatory Information section 6s
And FDA Regulated Intervention Indicator is Yes 0s
Then Section 801 Indicator field should be visible 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02636" and click on Amend 4s
Then I go to Regulatory Information section 5s
And I select Yes for Studies a U.S. FDA-regulated Device Product field 1s
Then the field Pediatric Post-market Surveillance should be displayed 0s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02636" and click on Amend 4s
Then I go to Regulatory Information section 5s
And I select Studies a U.S. FDA-regulated Device Product field as No 1s
Then the fields below should not be displayed 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 36s
Then I navigate to Regulatory Information screen 4s
And I fill all details and click save in Regulatory Information Screen 9s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
Then I search for a trial "NCI-2017-02636" and click on Amend 5s
And I verify the PA Reg Info fields entered are displayed in Amendment Reg Info fields 6s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 33s
Then I navigate to Regulatory Information screen 6s
And I fill all details and click save in Regulatory Information Screen 5s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
Then I search for a trial "NCI-2017-02636" and click on Amend 7s
And I click on review trial button 10s
Then I verify the PA Reg Info fields entered are displayed in Amendment(review trial page) Reg Info fields 3s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 35s
Then I navigate to Regulatory Information screen 6s
And I fill all details and click save in Regulatory Information Screen 4s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
Then I search for a trial "NCI-2017-02636" and click on Amend 7s
And I click on review trial button 10s
Then I shall be able to click on Print button 1s
And I verify the PA Reg Info fields entered are displayed in Amendment(print page) Reg Info fields 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 5s
Then I navigate to Regulatory Information screen 5s
And I fill all details as No and click on save in Regulatory Information Screen 8s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 16s
Then I search for a trial "NCI-2017-02636" and click on Amend 6s
And I click on review trial button 8s
Then I shall be able to click on Print button 1s
And I verify regulatory information fields are displayed in Amendment(print page) print page as in PA 25s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 32s
Then I navigate to Regulatory Information screen 6s
And I fill all details as No and click save in Regulatory Information Screen 4s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
Then I search for a trial "NCI-2017-02636" and click on Amend 6s
And I verify the PA Reg Info field values entered are displayed in Amendment Reg Info fields 5s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 33s
Then I navigate to Regulatory Information screen 5s
And I fill all details as No and click on save in Regulatory Information Screen 4s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
Then I search for a trial "NCI-2017-02636" and click on Amend 7s
And I click on review trial button 8s
Then I verify the PA Reg Info field values entered are displayed in Amendment(review trial page) Reg Info fields 31s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02636" 33s
Then I navigate to Regulatory Information screen 5s
And I select Studies a U.S. FDA-regulated Device Product field as Yes and save 4s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
And I search for a trial "NCI-2017-02636" and click on Amend 6s
Then I verify both Unapproved/Uncleared and Pediatric Post-market Surveillance fields are null 17s
And I connect to database and verify the values 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02635" 35s
Then I navigate to Regulatory Information screen 6s
And I fill all details and click save in Regulatory Information Screen 9s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
Then I search for a trial "NCI-2017-02635" and click on Amend 6s
And I enter amendment date and click on submit 15s
Then I verify the PA Reg Info fields entered are displayed in Amendment(submit trial page) Reg Info fields 1s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02643" 33s
Then I navigate to Regulatory Information screen 6s
And I fill all details as No and click on save in Regulatory Information Screen 8s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
Then I search for a trial "NCI-2017-02643" and click on Amend 8s
And I click on review trial button 9s
Then I verify the PA Reg Info field values entered are displayed in Amendment(submit trial page) Reg Info fields 30s
Given Accrual App launch 1s
Given I login into the CTRP Accrual app 10s
And I search for a trial with NCI trial identifier: "NCI-2017-02679" 3s
And the trial type is "Interventional" and current trial status is "Complete" 0s
And select the trial to view the participating site accrual count page 0s
And I navigate to Batch Upload page 1s
And I upload a ZIP file with valid data that contains the accrual data for Accrual Count and Cut-Off date 1s
Then accrual batch uplaod confirmation message "File Successfully Uploaded - Currently being processed. Email will be received when Processing is complete." displays 6s + Show Error
Unable to locate element: {"method":"css selector","selector":".actionMessage)li)span"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:275:in `get_element_text'
./features/step_definitions/accrual_counts_batch_upload.rb:404:in `/^accrual batch uplaod confirmation message "([^"]*)" displays$/'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:50:in `Then accrual batch uplaod confirmation message "File Successfully Uploaded - Currently being processed. Email will be received when Processing is complete." displays'
Given I login into the CTRP Accrual app 1s
And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=1" and cutoff date value "&cutOffDt=03-10-2001" 1s
And I search for a trial with NCI trial identifier: "NCI-2017-02679" 3s
And list of Trials table displays with following table columns 0s
And the trial type is "Interventional" and current trial status is "Complete" 0s
And select the trial to view the participating site accrual count page 0s
Then following table column should be presents in the participating site accrual count page 1s + Show Error
expected: "03/10/2015"
got: "03/10/2010"
(compared using ==)
(RSpec::Expectations::ExpectationNotMetError)
./features/support/helper_methods.rb:375:in `check_element_attribute'
./features/step_definitions/accrual_counts_batch_upload.rb:152:in `/^following table column should be presents in the participating site accrual count page$/'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:87:in `Then following table column should be presents in the participating site accrual count page'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:65:in `Then following table column should be presents in the participating site accrual count page'
And I navigate to Batch Upload page
And I upload a TXT file with valid data that contains the accrual data for Accrual Count and Cut-Off date
Then accrual batch uplaod confirmation message displays
And I wait for accrual batch upload job to be complete
And I am in Participating Site Subject Accrual Count page
Then the Accrual count and Cut-Off date should be added or updated for the trial
Given I login into the CTRP Accrual app 1s
And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=5" and cutoff date value "&cutOffDt=03-10-2001" 1s
And I search for a trial with NCI trial identifier: "NCI-2017-02679" 3s
And list of Trials table displays with following table columns 0s
And the trial type is "Interventional" and current trial status is "Complete" 0s
And select the trial to view the participating site accrual count page 0s
Then following table column should be presents in the participating site accrual count page 1s + Show Error
expected: "03/10/2011"
got: "03/12/2016"
(compared using ==)
(RSpec::Expectations::ExpectationNotMetError)
./features/support/helper_methods.rb:375:in `check_element_attribute'
./features/step_definitions/accrual_counts_batch_upload.rb:152:in `/^following table column should be presents in the participating site accrual count page$/'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:124:in `Then following table column should be presents in the participating site accrual count page'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:102:in `Then following table column should be presents in the participating site accrual count page'
And I navigate to Batch Upload page
And I upload a ZIP file with valid data that contains the accrual data for Accrual Count and Cut-Off date
Then accrual batch uplaod confirmation message displays
And I wait for accrual batch upload job to be complete
And I am in Participating Site Subject Accrual Count page
Then the Accrual count and Cut-Off date should be added or updated for the trial
Given I login into the CTRP Accrual app 1s
And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=5" and cutoff date value "&cutOffDt=03-10-2001" 1s
And I search for a trial with NCI trial identifier: "NCI-2017-02679" 3s
And list of Trials table displays with following table columns 0s
And the trial type is "Interventional" and current trial status is "Complete" 0s
And select the trial to view the participating site accrual count page 1s
Then following table column should be presents in the participating site accrual count page 3s
And I navigate to Batch Upload page 1s
And I know a MALFORMED batch TXT file name "batch_accrual_counts_malformed.txt" 0s
And I upload a MALFORMED batch TXT file to update Accrual Count and Cut-Off date 1s
Then accrual batch uplaod confirmation message displays 0s
And I wait for accrual batch upload job to be complete 1s
And I am in Participating Site Subject Accrual Count page 5s
Then the Accrual count and Cut-Off date SHOULD NOT be added or updated for the trial due to MALFORMED batch file 2s
Given I login into the CTRP Accrual app 2s
And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=3" and cutoff date value "&cutOffDt=05-10-2009" 1s
And I search for a trial with NCI trial identifier: "NCI-2017-02679" 3s
And list of Trials table displays with following table columns 0s
And the trial type is "Interventional" and current trial status is "Complete" 0s
And select the trial to view the participating site accrual count page 1s
Then following table column should be presents in the participating site accrual count page 2s
And I navigate to Batch Upload page 1s
And I know a MALFORMED batch ZIP file name "batch_accrual_counts_malformed.zip" 0s
And I upload a MALFORMED batch ZIP file to update Accrual Count and Cut-Off date 1s
Then accrual batch uplaod confirmation message displays 0s
And I wait for accrual batch upload job to be complete 1s
And I am in Participating Site Subject Accrual Count page 4s
Then the Accrual count and Cut-Off date SHOULD NOT be added or updated for the trial due to MALFORMED batch file 6s + Show Error
timed out after 5 seconds (Unable to locate element: {"method":"css selector","selector":".table.table-striped.dataTable.no-footer tbody tr td:nth-child(03) input"}) (Selenium::WebDriver::Error::TimeOutError)
./features/support/helper_methods.rb:775:in `wait_for_element_to_display'
./features/step_definitions/accrual_counts_batch_upload.rb:324:in `/^the Accrual count and Cut\-Off date SHOULD NOT be added or updated for the trial due to MALFORMED batch file$/'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:200:in `Then the Accrual count and Cut-Off date SHOULD NOT be added or updated for the trial due to MALFORMED batch file'
features/accrual/ui/accrual_counts_batch_upload_ui.feature:197:in `Then the Accrual count and Cut-Off date SHOULD NOT be added or updated for the trial due to MALFORMED batch file'
Given I login into CTRP and import a trial with NCT ID "NCT03342339" 32s
When I connect to db and get the NCI ID 0s
Then I search for a trial with generated NCI ID 7s
And I navigate to "Trial History" page 7s
Then I navigate to audit trail tab 1s
And I select audited object as "NCI Specific Information" and click view audit trial 5s
And I verify user name is displayed as "CI, ctrpsubstractor" 0s
Given I login into CTRP and update a trial with NCT ID "NCT03349723" and user as "ctrpsubstractor" 12s
When I connect to db and get the NCI ID 0s
Then I search for a trial with generated NCI ID 8s
And I navigate to "Trial History" page 6s
Then I navigate to audit trail tab 0s
And I select audited object as "NCI Specific Information" and click view audit trial 4s
And I verify user name is displayed as "CI, ctrpsubstractor" with type 'UPDATE' 0s
Given I login into CTRP Registry and import a trial with NCT ID "NCT03342300" 30s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/import/import_pa_registry.rb:21:in `import_from_reg_indus_other'
./features/step_definitions/ctrp_import_ct_api_UI_mine.rb:37:in `/^I login into CTRP Registry and import a trial with NCT ID "([^"]*)"$/'
features/import/ui/ctrp_import_ct_api_UI_mine.feature:66:in `Given I login into CTRP Registry and import a trial with NCT ID "NCT03342300"'
When I connect to db and get the NCI ID
Then I login into CTRP and search for a trial with generated NCI ID
And I navigate to "Trial History" page
Then I navigate to audit trail tab
And I select audited object as "NCI Specific Information" and click view audit trial
And I verify user name is displayed as "CI, ctrpsubstractor"
Given I Import a trial with NCT ID "NCT00001000" 2s
When I login into CTRP and search for a trial with generated NCI ID 28s
Then I click accept button in the trial validation screen 11s
Then I click on "Outcome Measures" link 3s
And I verify the description of outcome measures is imported successfully 14s
Given I Import a trial with NCT ID "NCT90000001" 3s
And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual and Intervention" 1s + Show Error
Verifying "CTRP status" Expect value is TEMPORARILY CLOSED TO ACCRUAL AND INTERVENTION Actual value is TEMPORARILY NOT AVAILABLE | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:236:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/' features/pa/backend/import.feature:9:in `And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual and Intervention"' features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'
Given I Import a trial with NCT ID "NCT90000002" 2s
And I verify in PA for Trial Status in ct.gov "Approved for marketing" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Approved" 1s + Show Error
Verifying "CTRP status" Expect value is APPROVED Actual value is APPROVED FOR MARKETING | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:236:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/' features/pa/backend/import.feature:10:in `And I verify in PA for Trial Status in ct.gov "Approved for marketing" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Approved"' features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'
Given I Import a trial with NCT ID "NCT90000003" 3s
And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Closed to Accrual and Intervention" 0s + Show Error
Verifying "CTRP status" Expect value is CLOSED TO ACCRUAL AND INTERVENTION Actual value is NO LONGER AVAILABLE | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:236:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/' features/pa/backend/import.feature:11:in `And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Closed to Accrual and Intervention"' features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'
Given I Import a trial with NCT ID "NCT90000004" 5s
And I verify in PA for Trial Status in ct.gov "Unknown" "insert_active_no" status is inserted with "start_date" along with ctrp status as "In Review" 1s
Given I Import a trial with NCT ID "NCT90000005" 3s
And I verify in PA for Trial Status in ct.gov "Suspended" "insert_active" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual" 0s
Given I Import a trial with NCT ID "NCT90000006" 2s
And I verify in PA for Trial Status in ct.gov "Terminated" "insert_active" status is inserted with "start_date" along with ctrp status as "Administratively Complete" 1s
Given I Import a trial with NCT ID "NCT90000007" 2s
And I verify in PA for Trial Status in ct.gov "Available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Active" 0s + Show Error
Verifying "CTRP status" Expect value is ACTIVE Actual value is AVAILABLE | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:236:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/' features/pa/backend/import.feature:15:in `And I verify in PA for Trial Status in ct.gov "Available" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Active"' features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'
Given I Import a trial with NCT ID "NCT90000008" 3s
And I verify in PA for Trial Status in ct.gov "Withdrawn" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Withdrawn" 1s
Given I Import a trial with NCT ID "NCT90000009" 3s
And I verify in PA for Trial Status in ct.gov "Active not recruiting" "insert_active" status is inserted with "start_date" along with ctrp status as "Closed to Accrual" 1s
Given I Import a trial with NCT ID "NCT90000010" 3s
And I verify in PA for Trial Status in ct.gov "Enrolling by invitation" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Enrolling by Invitation" 0s
Given I Import a trial with NCT ID "NCT90000011" 3s
And I verify in PA for Trial Status in ct.gov "Not yet recruiting" "insert_active_no" status is inserted with "start_date" along with ctrp status as "In Review" 1s
Given I Import a trial with NCT ID "NCT90000012" 3s
And I verify in PA for Trial Status in ct.gov "Recruiting" "insert_active_no" status is inserted with "start_date" along with ctrp status as "Active" 0s
Given I Import a trial with NCT ID "NCT90000013" 2s
And I verify in PA for Trial Status in ct.gov "Completed" "insert_active" status is inserted with "start_date" along with ctrp status as "Complete" 0s
Given I Import a trial with NCT ID "NCT90000014" 3s
And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual and Intervention" 0s + Show Error
Verifying "CTRP status Count" Expect value is 2 Actual value is 1 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:245:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/' features/pa/backend/import.feature:22:in `And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual and Intervention"' features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'
Given I Import a trial with NCT ID "NCT90000015" 2s
And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active" status is inserted with "start_date" along with ctrp status as "Closed to Accrual and Intervention" 1s + Show Error
Verifying "CTRP status Count" Expect value is 2 Actual value is 1 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:245:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with ctrp status as "([^"]*)"$/' features/pa/backend/import.feature:23:in `And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active" status is inserted with "start_date" along with ctrp status as "Closed to Accrual and Intervention"' features/pa/backend/import.feature:6:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with ctrp status as "(ctrp_status)"'
Given I Import a trial with NCT ID "NCT03314415" 2s + Show Error
Verifying "Import response code. Body of response --) New current status date should be bigger/same as old date." Expect value is 200 Actual value is 500 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/ctrp_import_ct_api_mine.rb:8:in `/^I Import a trial with NCT ID "([^"]*)"$/' features/pa/backend/import.feature:24:in `Given I Import a trial with NCT ID "NCT03314415"' features/pa/backend/import.feature:5:in `Given I Import a trial with NCT ID "(nct_id)"'
And I verify in PA for Trial Status in ct.gov "Suspended" "insert_active" status is inserted with "start_date" along with ctrp status as "Temporarily Closed to Accrual"
Given I get trial status before update for NCT ID "NCT90000021" 1s
And I update a trial with NCT ID "NCT90000021" 3s
And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active_no" status is inserted with "start_date" along with above status 0s
Given I get trial status before update for NCT ID "NCT90000022" 1s
And I update a trial with NCT ID "NCT90000022" 3s
And I verify in PA for Trial Status in ct.gov "Approved for marketing" "insert_active_no" status is inserted with "start_date" along with above status 1s
Given I get trial status before update for NCT ID "NCT90000023" 1s
And I update a trial with NCT ID "NCT90000023" 3s
And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active_no" status is inserted with "start_date" along with above status 1s
Given I get trial status before update for NCT ID "NCT90000024" 1s
And I update a trial with NCT ID "NCT90000024" 5s
And I verify in PA for Trial Status in ct.gov "Unknown" "insert_active_no" status is inserted with "start_date" along with above status 1s
Given I get trial status before update for NCT ID "NCT90000025" 1s
And I update a trial with NCT ID "NCT90000025" 3s
And I verify in PA for Trial Status in ct.gov "Suspended" "insert_active" status is inserted with "start_date" along with above status 1s
Given I get trial status before update for NCT ID "NCT90000026" 1s
And I update a trial with NCT ID "NCT90000026" 3s
And I verify in PA for Trial Status in ct.gov "Terminated" "insert_active" status is inserted with "start_date" along with above status 1s
Given I get trial status before update for NCT ID "NCT90000027" 1s
And I update a trial with NCT ID "NCT90000027" 3s
And I verify in PA for Trial Status in ct.gov "Available" "insert_active_no" status is inserted with "start_date" along with above status 1s
Given I get trial status before update for NCT ID "NCT90000028" 1s
And I update a trial with NCT ID "NCT90000028" 5s
And I verify in PA for Trial Status in ct.gov "Withdrawn" "insert_active_no" status is inserted with "start_date" along with above status 1s
Given I get trial status before update for NCT ID "NCT90000029" 1s
And I update a trial with NCT ID "NCT90000029" 5s
And I verify in PA for Trial Status in ct.gov "Active not recruiting" "insert_active" status is inserted with "start_date" along with above status 0s
Given I get trial status before update for NCT ID "NCT90000030" 1s
And I update a trial with NCT ID "NCT90000030" 2s
And I verify in PA for Trial Status in ct.gov "Enrolling by invitation" "insert_active_no" status is inserted with "start_date" along with above status 1s
Given I get trial status before update for NCT ID "NCT90000031" 1s
And I update a trial with NCT ID "NCT90000031" 3s
And I verify in PA for Trial Status in ct.gov "Not yet recruiting" "insert_active_no" status is inserted with "start_date" along with above status 0s
Given I get trial status before update for NCT ID "NCT90000032" 1s
And I update a trial with NCT ID "NCT90000032" 4s
And I verify in PA for Trial Status in ct.gov "Recruiting" "insert_active_no" status is inserted with "start_date" along with above status 0s
Given I get trial status before update for NCT ID "NCT90000033" 1s
And I update a trial with NCT ID "NCT90000033" 2s
And I verify in PA for Trial Status in ct.gov "Completed" "insert_active" status is inserted with "start_date" along with above status 1s
Given I get trial status before update for NCT ID "NCT90000034" 1s
And I update a trial with NCT ID "NCT90000034" 2s
And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active" status is inserted with "start_date" along with above status 0s + Show Error
Verifying "CTRP status Count" Expect value is 2 Actual value is 1 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:291:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with above status$/' features/pa/backend/import.feature:50:in `And I verify in PA for Trial Status in ct.gov "Temporarily not available" "insert_active" status is inserted with "start_date" along with above status' features/pa/backend/import.feature:34:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with above status'
Given I get trial status before update for NCT ID "NCT90000035" 1s
And I update a trial with NCT ID "NCT90000035" 3s
And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active" status is inserted with "start_date" along with above status 1s + Show Error
Verifying "CTRP status Count" Expect value is 2 Actual value is 1 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:291:in `/^I verify in PA for Trial Status in ct\.gov "([^"]*)" "([^"]*)" status is inserted with "([^"]*)" along with above status$/' features/pa/backend/import.feature:51:in `And I verify in PA for Trial Status in ct.gov "No longer available" "insert_active" status is inserted with "start_date" along with above status' features/pa/backend/import.feature:34:in `And I verify in PA for Trial Status in ct.gov "(ct_gov_status)" "(active_or_not)" status is inserted with "start_date" along with above status'
Given I get trial status before update for NCT ID "NCT90000041" 1s
And I update a trial with NCT ID "NCT90000041" 2s
And I verify in PA for Trial Status in ct.gov "Temporarily not available" should not be changed 1s
Given I get trial status before update for NCT ID "NCT90000043" 1s
And I update a trial with NCT ID "NCT90000043" 3s
And I verify in PA for Trial Status in ct.gov "No longer available" should not be changed 1s
Given I get trial status before update for NCT ID "NCT90000045" 1s
And I update a trial with NCT ID "NCT90000045" 3s
And I verify in PA for Trial Status in ct.gov "Suspended" should not be changed 1s
Given I get trial status before update for NCT ID "NCT90000046" 1s
And I update a trial with NCT ID "NCT90000046" 3s
And I verify in PA for Trial Status in ct.gov "Terminated" should not be changed 1s
Given I get trial status before update for NCT ID "NCT90000049" 1s
And I update a trial with NCT ID "NCT90000049" 3s
And I verify in PA for Trial Status in ct.gov "Active not recruiting" should not be changed 1s
Given I get trial status before update for NCT ID "NCT90000053" 1s
And I update a trial with NCT ID "NCT90000053" 3s
And I verify in PA for Trial Status in ct.gov "Completed" should not be changed 1s
Given I get trial status before update for NCT ID "NCT90000054" 1s
And I update a trial with NCT ID "NCT90000054" 2s
And I verify in PA for Trial Status in ct.gov "Temporarily not available" should not be changed 0s
Given I get trial status before update for NCT ID "NCT90000055" 1s
And I update a trial with NCT ID "NCT90000055" 2s
And I verify in PA for Trial Status in ct.gov "No longer available" should not be changed 0s
Given I get trial status before update for NCT ID "NCT90000061" 1s
And I update a trial with NCT ID "NCT90000061" 4s
And I verify in PA for existing status "In Review" and Ct.gov new status "Recruiting", new ctrp status "Active" in inserted along with "insert_active_no" 1s + Show Error
Verifying "CTRP status_date for Active status" Expect value is 2017-05-30 Actual value is 2018-05-11 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:340:in `block (2 levels) in (top (required))' ./features/step_definitions/import_rules.rb:336:in `each' ./features/step_definitions/import_rules.rb:336:in `/^I verify in PA for existing status "([^"]*)" and Ct\.gov new status "([^"]*)", new ctrp status "([^"]*)" in inserted along with "([^"]*)"$/' features/pa/backend/import.feature:76:in `And I verify in PA for existing status "In Review" and Ct.gov new status "Recruiting", new ctrp status "Active" in inserted along with "insert_active_no"' features/pa/backend/import.feature:73:in `And I verify in PA for existing status "In Review" and Ct.gov new status "(ct_gov_status)", new ctrp status "(ctrp_status)" in inserted along with "(active_or_not)"'
Given I get trial status before update for NCT ID "NCT90000062" 1s
And I update a trial with NCT ID "NCT90000062" 4s
And I verify in PA for existing status "In Review" and Ct.gov new status "Enrolling by invitation", new ctrp status "Enrolling by invitation" in inserted along with "insert_active_no" 1s + Show Error
Verifying "CTRP status_date for Enrolling by invitation status" Expect value is 2019-11-18 Actual value is 2018-05-11 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/import_rules.rb:340:in `block (2 levels) in (top (required))' ./features/step_definitions/import_rules.rb:336:in `each' ./features/step_definitions/import_rules.rb:336:in `/^I verify in PA for existing status "([^"]*)" and Ct\.gov new status "([^"]*)", new ctrp status "([^"]*)" in inserted along with "([^"]*)"$/' features/pa/backend/import.feature:77:in `And I verify in PA for existing status "In Review" and Ct.gov new status "Enrolling by invitation", new ctrp status "Enrolling by invitation" in inserted along with "insert_active_no"' features/pa/backend/import.feature:73:in `And I verify in PA for existing status "In Review" and Ct.gov new status "(ct_gov_status)", new ctrp status "(ctrp_status)" in inserted along with "(active_or_not)"'
Given I get trial status before update for NCT ID "NCT90000063" 1s
And I update a trial with NCT ID "NCT90000063" 3s
And I verify in PA for existing status "In Review" and Ct.gov new status "Active not recruiting", new ctrp status "Closed to Accrual" in inserted along with "insert_active" 1s
Given I get trial status before update for NCT ID "NCT90000064" 1s
And I update a trial with NCT ID "NCT90000064" 3s
And I verify in PA for existing status "In Review" and Ct.gov new status "Suspended", new ctrp status "Temporarily Closed to Accrual" in inserted along with "insert_active" 1s
Given I get trial status before update for NCT ID "NCT90000065" 1s
And I update a trial with NCT ID "NCT90000065" 4s
And I verify in PA for existing status "In Review" and Ct.gov new status "Completed", new ctrp status "Complete" in inserted along with "insert_active" 0s
Given I get trial status before update for NCT ID "NCT90000066" 1s
And I update a trial with NCT ID "NCT90000066" 4s
And I verify in PA for existing status "In Review" and Ct.gov new status "Terminated", new ctrp status "Administratively Complete" in inserted along with "insert_active" 1s
Given I get trial status before update for NCT ID "NCT90000067" 1s
And I update a trial with NCT ID "NCT90000067" 3s
And I verify in PA for existing status "In Review" and Ct.gov new status "Withdrawn", new ctrp status "Withdrawn" in inserted along with "insert_active_no" 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02683" 6s
When I click on "Trial Status" link 5s
Then I verify PCD field has an asterisk 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02677" 6s
When I click on "Trial Status" link 5s
Then I verify PCD field has no asterisk 6s
Given I login into CTRP and search with NCI ID "NCI-2017-02677" 8s
When I click on "Trial Status" link 6s
Then I select N/A type in Primary completion date and delete the date 1s
And I click on save 2s
Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s
When I select anticipated type in PCD field and delete the date 1s
Then I click on save 3s
And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s
And I verify record is saved successfully 0s
When I select actual type in PCD field and delete the date 1s
Then I click on save 4s
And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02681" 7s
When I click on "Trial Status" link 4s
Then I verify PCD field has no asterisk 6s
Given I login into CTRP and search with NCI ID "NCI-2017-02681" 8s
When I click on "Trial Status" link 7s
Then I select N/A type in Primary completion date and delete the date 1s
And I click on save 4s
Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s
When I select anticipated type in PCD field and delete the date 1s
Then I click on save 3s
And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s
And I verify record is saved successfully 0s
When I select actual type in PCD field and delete the date 1s
Then I click on save 2s
And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02680" 6s
When I click on "Trial Status" link 5s
Then I select N/A type in Primary completion date and delete the date 1s
And I click on save 4s
Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s
When I select anticipated type in PCD field and delete the date 1s
Then I click on save 3s
And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s
And I verify record is saved successfully 0s
When I select actual type in PCD field and delete the date 1s
Then I click on save 3s
And I verify validation error "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02678" 7s
When I click on "Trial Status" link 6s
Then I select N/A type in Primary completion date and delete the date 1s
And I click on save 3s
Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s
When I select anticipated type in PCD field and delete the date 1s
Then I click on save 3s
And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s
And I verify record is saved successfully 0s
When I select actual type in PCD field and delete the date 1s
Then I click on save 2s
And I verify validation error "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02682" 6s
When I click on "Trial Status" link 5s
Then I select N/A type in Primary completion date and delete the date 1s
And I click on save 2s
Then I verify validation error "Only a DCP trial can have a Primary Completion Date Type equals to 'N/A'." is not displayed 6s
When I select anticipated type in PCD field and delete the date 1s
Then I click on save 2s
And I verify validation error "Primary Completion Date is required, unless this is a DCP trial and the date type is set to N/A." is not displayed 6s
And I verify record is saved successfully 0s
When I select actual type in PCD field and delete the date 0s
Then I click on save 3s
And I verify validation error "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is displayed 0s
Given I login into CTRP Registry 17s
When I navigate to a new National trial screen 2s
Then I enter all required fields except primary completion date and click review trial 37s
And I verify error message "Please enter a valid date" is displayed 0s
And I verify error message "Please enter a valid date type" is displayed 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02684" and click on update 5s
Then I delete PCD and click on review trial 9s
And I verify error message "Please enter a valid date" is displayed 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02684" and click on Amend 3s
Then I delete PCD and click on review trial 13s
And I verify the error message "Please enter a valid date" is displayed 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I enter all the fields except primary completion date and click review trial 33s
And I verify error message "Please enter a valid date" is not displayed 6s
And I verify error message "Please enter a valid date type" is not displayed 6s
And I verify the PCD value is blank on 'review' page 0s
And I verify the PCD value is blank on 'print' page 0s
And I verify the PCD value is blank on 'submit' page 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I click on the "Participating Sites template" link 6s
And I verify the template is switched to new window 0s
Given I login into CTRP Registry 7s
When I search for a trial "NCI-2017-02735" and click on update 8s
Then I enter PCD with radio type as 'N/A' and click review trial in update page 9s
And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 0s
And I verify radio type 'N/A' is selected 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02735" and click on update 5s
Then I delete PCD and select radio type as 'actual' and click review trial in update page 9s
And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02735" and click on update 4s
Then I delete PCD and select radio type as 'N/A' and click review trial 8s
And I verify PCD value on update review page 2s
And I verify the PCD value on print page 1s
And I verify the PCD value on update submit page 3s
Given I login into CTRP Registry 4s
When I search for a trial "NCI-2017-02732" and click on Amend 5s
Then I enter PCD with radio type as 'N/A' and click review trial in amend page 17s
And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 1s
Given I login into CTRP Registry 4s
When I search for a trial "NCI-2017-02732" and click on Amend 5s
Then I delete PCD and select radio type as 'actual' and click review trial in amend page 16s
And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s
Given I login into CTRP Registry 5s
When I search for a trial "NCI-2017-02737" and click on update 7s
Then I enter PCD with radio type as 'N/A' and click review trial in update page 11s
And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 1s
Given I login into CTRP Registry 4s
When I search for a trial "NCI-2017-02737" and click on update 5s
Then I delete PCD and select radio type as 'actual' and click review trial in update page 12s
And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02738" and click on Amend 5s
Then I enter PCD with radio type as 'N/A' and click review trial in amend page 24s
And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 0s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02738" and click on Amend 6s
Then I delete PCD and select radio type as 'actual' and click review trial in amend page 18s
And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02739" and click on Amend 6s
Then I delete PCD and select radio type as 'N/A' and click review trial in amend page 10s
And I verify the PCD value on amend review page 5s
And I verify the PCD value on print page 3s
And I verify the PCD value on amend submit page 6s
Given I login into CTRP Registry 4s
When I navigate to a new National trial screen 1s
Then I enter PCD with radio type as 'N/A' and click review trial in register page 50s
And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 1s
Given I login into CTRP Registry 5s
When I navigate to a new National trial screen 1s
Then I delete PCD and select radio type as 'actual' and click review trial in register page 48s
And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 1s
Given I login into CTRP Registry 4s
When I navigate to a new National trial screen 1s
Then I enter all fields except primary completion date 43s
And I verify the PCD value on review page 2s
And I verify the PCD value on print page 2s
And I verify the PCD value on submit page 4s
Given I login into CTRP Registry 4s
When I search for a trial "NCI-2017-02740" and click on update 7s
Then I enter PCD with radio type as 'N/A' and click review trial in update page 11s
And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 0s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02740" and click on update 6s
Then I delete PCD and select radio type as 'actual' and click review trial in update page 9s
And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s
Given I login into CTRP Registry 4s
When I search for a trial "NCI-2017-02740" and click on update 6s
Then I delete PCD and select radio type as 'N/A' and click review trial 10s
And I verify PCD value on update review page 2s
And I verify the PCD value on print page 2s
And I verify the PCD value on update submit page 5s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02741" and click on Amend 5s
Then I enter PCD with radio type as 'N/A' and click review trial in amend page 20s
And I verify error message "If primary completion date is specified, its type cannot be 'N/A'." is present 1s
Given I login into CTRP Registry 4s
When I search for a trial "NCI-2017-02741" and click on Amend 5s
Then I delete PCD and select radio type as 'actual' and click review trial in amend page 21s
And I verify error message "Validation Exception , Primary Completion date must be marked as Anticipated or N/A." is present 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I verify 'N/A' radio type is removed 7s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02733" and click on update 4s
Then I verify 'N/A' radio type is removed 4s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02734" and click on Amend 6s
Then I verify 'N/A' radio type is removed 7s
Given I login into CTRP Registry 4s
When I navigate to a new National trial screen 1s
And I complete the remaining trial for Save as draft 11s
And I click to Save as Draft 2s
Then It shall Save the draft with no IND-IDE and trial type "Interventional" 6s
And I verify the db for no IND-IDE for Save as draft 1s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
And I complete the remaining trial for Save as draft 12s
And I click to Save as Draft 2s
Then It shall Save the draft with no IND-IDE and trial type "Interventional" 6s
And I verify the db for no IND-IDE for Save as draft 1s
And I searched for above draft 7s
And I click to Complete the Draft 0s
Then It shall take to the Trial page 5s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 20s
And I click to Save as Draft 2s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 1s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 21s
Then I verify the IND-IDE information 1s
And I complete the remaining trial for Save as draft 6s
And I click to Save as Draft 2s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 1s
And I searched for above draft 6s
And I click to Complete the Draft 1s
Then It shall take to the Trial page 6s
And I again add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 21s
And I click to Save as Draft 2s
Then It shall Save the draft with the new added IND-IDE 1s
And I verify the db for all IND-IDE for Save as draft 2s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 21s
Then I verify the IND-IDE information 1s
And I complete the remaining trial for Save as draft 4s
And I click to Save as Draft 4s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 2s
And I searched for above draft 6s
And I click to Complete the Draft 0s
Then It shall take to the Trial page 5s
And I delete the previously added IND-IDE 3s
And I click to Save as Draft 2s
Then It shall Save the draft with no IND-IDE and trial type "Interventional" 6s
And I verify the db for no IND-IDE for Save as draft 1s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 6s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 20s
Then I verify the IND-IDE information 1s
And I complete the remaining trial for Save as draft 5s
And I click to Save as Draft 2s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 0s
And I verify the db for correct IND-IDE for Save as draft 1s
And I searched for above draft 5s
And I click to Complete the Draft 0s
Then It shall take to the Trial page 5s
And I complete the remaining trial 31s
And I click to review trial 1s
Then I verify the IND-IDE information on Review page 2s
And I Edit the trial 5s
Then I verify the IND-IDE information 1s
And I Review and Submit the trial 7s
Then I verify the IND-IDE information on Submit page for "National" trial and "Interventional" trial 0s
And I verify the db for correct IND-IDE 1s
And I verify the db for draft record after Submit 1s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 0s
And I complete the remaining trial for Save as draft 8s
And I click to Save as Draft 2s
Then It shall Save the draft with no IND-IDE and trial type "Interventional" 6s
And I verify the db for no IND-IDE for Save as draft 1s
And I searched for above draft 5s
And I click to Complete the Draft 0s
Then It shall take to the Trial page 4s
And I complete the remaining trial 23s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:95:in `click' ./features/step_definitions/registry_ind_ide_info.rb:337:in `/^I complete the remaining trial$/' features/registry/ui/IND_IDE_save_as_draft.feature:120:in `And I complete the remaining trial'
And I click to review trial
Then I verify there are no IND-IDE information on Review page
And I Edit the trial
Then I verify there are no the IND-IDE information
And I Review and Submit the trial with no IND-IDE
Then I verify there is no IND-IDE information on Submit page for "National" trial and "Interventional" trial
And I verify the db for no IND-IDE
And I verify the db for draft record and no IND-IDE after Submit
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 1s
And I complete the remaining trial for Save as draft 10s
And I click to Save as Draft 2s
Then It shall Save the draft with no IND-IDE and trial type "Interventional" 6s
And I verify the db for no IND-IDE for Save as draft 1s
And I searched for above draft 6s
And I click to Delete the Draft 1s
Then The draft should be deleted 0s
And I verify the db for deleted draft 1s
Given I login into CTRP Registry 5s
When I navigate to a new National trial screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 6s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 21s
Then I verify the IND-IDE information 1s
And I complete the remaining trial for Save as draft 4s
And I click to Save as Draft 4s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 2s
And I searched for above draft 7s
And I click to Delete the Draft 1s
Then The draft should be deleted 0s
And I verify the db for deleted draft and IND-IDE 2s
Given I login into CTRP Registry 3s
When I navigate to a new Externally Peer-Reviewed screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 19s
Then I verify the IND-IDE information 1s
And I complete the remaining trial for Save as draft 6s
And I click to Save as Draft 2s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 2s
And I searched for above draft 6s
And I click to Complete the Draft 1s
Then It shall take to the Trial page 7s
And I complete the remaining trial 35s
And I click to review trial 1s
Then I verify the IND-IDE information on Review page 3s
And I Edit the trial 6s
Then I verify the IND-IDE information 1s
And I Review and Submit the trial 9s
Then I verify the IND-IDE information on Submit page for "Externally Peer-Reviewed" trial and "Interventional" trial 1s
And I verify the db for correct IND-IDE 2s
And I verify the db for draft record after Submit 1s
Given I login into CTRP Registry 2s
When I navigate to a new Institutional screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 6s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 20s
Then I verify the IND-IDE information 1s
And I complete the remaining trial for Save as draft 5s
And I click to Save as Draft 3s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 1s
And I searched for above draft 7s
And I click to Complete the Draft 1s
Then It shall take to the Trial page 5s
And I complete the remaining Non-Interventional trial 26s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:95:in `click' ./features/step_definitions/registry_ind_ide_info.rb:618:in `/^I fill all fields$/' ./features/step_definitions/registry_ind_ide_info.rb:578:in `/^I complete the remaining Non-Interventional trial$/' features/registry/ui/IND_IDE_save_as_draft.feature:224:in `And I complete the remaining Non-Interventional trial'
And I click to review trial
Then I verify the IND-IDE information on Review page
And I Edit the trial
Then I verify the IND-IDE information
And I Review and Submit the trial
Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Non-Interventional" trial
And I verify the db for correct IND-IDE
And I verify the db for draft record after Submit
Given I login into CTRP Registry 3s
When I navigate to a new Externally Peer-Reviewed screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 6s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 19s
Then I verify the IND-IDE information 1s
And I complete the remaining trial for Save as draft 6s
And I select the Non-interventional Trial Type 0s
And I click to Save as Draft 2s
Then It shall Save the draft with the IND-IDE and trial type "NonInterventional" 1s
And I verify the db for correct IND-IDE for Save as draft 2s
And I searched for above draft 7s
And I click to Complete the Draft 1s
Then It shall take to the Trial page 5s
And I complete the remaining Non-Interventional trial 43s
And I click to review trial 1s
Then I verify the IND-IDE information on Review page 3s
And I Edit the trial 5s
Then I verify the IND-IDE information 1s
And I Review and Submit the trial 8s
Then I verify the IND-IDE information on Submit page for "Externally Peer-Reviewed" trial and "Non-Interventional" trial 0s
And I verify the db for correct IND-IDE 2s
And I verify the db for draft record after Submit 1s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND record with IND number as "1234" 7s
And I add the IND record with IND number as "1234" 7s
And I complete the remaining trial for Save as draft 5s
And I click to Save as Draft 6s
Then It shall not Save the draft and give message as "Trial IND/IDE should not have Duplicate values" 0s
Given I login into CTRP Registry 4s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 5s
And I add the IND record with IND number as "1234" 6s
And I add the IDE record with IDE number as "1234" 9s
And I complete the remaining trial for Save as draft 3s
And I click to Save as Draft 2s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 1s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 4s
And I add the IND record with IND number as "1234" 5s
And I add the IND record with IND number as "1234" 5s
And I complete the remaining trial for Save as draft 4s
And I click to Save as Draft 4s
Then It shall not Save the draft and give message as "Trial IND/IDE should not have Duplicate values" 0s
And I delete the duplicate IND number 0s
And I add new IND-IDE 11s
And I click to Save as Draft 3s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 1s
Given I login into CTRP Registry 3s
When I navigate to a new Institutional screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 4s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes, No 19s
Then I verify the IND-IDE information 1s
And I complete the remaining trial for Save as draft 5s
And I click to Save as Draft 2s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 2s
And I searched for above draft 6s
And I click to Complete the Draft 0s
Then It shall take to the Trial page 4s
And I complete the remaining Non-Interventional trial with no FDA Indicator selected 43s
And I click to review trial 1s
Then I verify the IND-IDE information on Review page 3s
And I click to submit trial 5s
Then It shall give error message as "Error Message: FDA Regulated Intervention Indicator must be Yes since it has Trial IND/IDE records." 0s
And I select "FDA Regulated Intervention Indicator" as "Yes" 1s
And I click to review trial 1s
And I click to submit trial 6s
Then I verify the IND-IDE information on Submit page for "Institutional" trial and "Non-Interventional" trial 1s
And I verify the db for correct IND-IDE 2s
And I verify the db for draft record after Submit 1s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to FDA IND/IDE Information for applicable trials section 7s
And I add the IND-IDE and Availability of Expanded Access as Unknown, Yes (no Expanded Access record), No 18s
Then I verify the IND-IDE information 1s
And I complete the remaining trial for Save as draft 5s
And I click to Save as Draft 2s
Then It shall Save the draft with the IND-IDE and trial type "Interventional" 1s
And I verify the db for correct IND-IDE for Save as draft 1s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I verify XML required field is removed 8s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I verify Sponsor/Responsible Party section is optional 8s
And I verify Sponsor field is optional 6s
And I verify Responsible Party field is optional 6s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I enter "Sponsor" field as null 5s
And I verify the validation error message 'Please choose a Sponsor using the lookup' is removed 8s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I enter "Responsible Party" field as null 6s
And I verify the validation error message 'Responsible Party' is required is removed 9s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I select 'Principal Investigator' in the responsible Party field 12s
And I verify below fields with required validations are present 1s
Then I select 'Sponsor-Investigator' in the responsible Party field 6s
And I verify below fields with required validations are present 0s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I navigate to the Sponsor/Responsible party section 6s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I enter all details and click review trial 41s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Then I click on submit button 5s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 0s
Then I populate all the required fields 49s
And I save the "National" trial as draft 2s
Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 4s
When I navigate to a new National trial screen 0s
Then I enter all details and click review trial 37s
And I shall be able to click on Print button 1s
Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 3s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I verify Regulatory Information section is optional 9s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I enter all details except "FDA Regulated Intervention" field in Reg Info section 37s
And I verify the validation message "Error Message: FDA Regulated Intervention Indicator is required field." is removed 8s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I enter all details except "Section801 Indicator" field in Reg Info section 32s
And I verify the validation message "Error Message: Section 801 is required if FDA Regulated indicator is true." is removed 8s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I navigate to Regulatory Information section 4s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 0s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I enter all details and click review trial 32s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
And I click on submit button 4s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I populate all the required fields 41s
And I save the "National" trial as draft 2s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I enter all details and click review trial 28s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:95:in `click' ./features/support/registry/register_trial.rb:333:in `click_data_table_sponsor' ./features/step_definitions/ct.gov_xml_registry.rb:118:in `/^I enter all details$/' ./features/step_definitions/ct.gov_xml_registry.rb:146:in `/^I enter all details and click review trial$/' features/registry/ui/ct.gov_xml_req.feature:128:in `Then I enter all details and click review trial'
And I shall be able to click on Print button
Then I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02625" and click on update 3s
Then I verify Sponsor/Responsible Party section is optional in Update Trial page 7s
And I verify Sponsor field is optional 6s
And I verify Responsible Party field is optional 6s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02625" and click on update 3s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present on update page 3s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02625" and click on update 3s
Then I update the fields and click on review trial 4s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02625" and click on update 3s
Then I update the fields and click on review trial 5s
And I verify Sponsor field is optional in Update Trial(Review) page 9s
And I verify Responsible Party field is optional 6s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02625" and click on update 3s
Then I update the fields and click on review trial 3s
And I shall be able to click on Print button 1s
Then I verify Sponsor field is optional in Update Trial(Print) page 6s
And I verify Responsible Party field is optional 6s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02625" and click on update 3s
Then I update the fields and click on review trial 5s
And I shall be able to click on Print button 1s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02625" and click on update 4s
Then I update the fields and click on submit 5s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02625" and click on update 2s
Then I verify Regulatory Information section is optional 7s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02625" and click on update 3s
Then I verify FDA Regulated Intervention Indicator field is optional 9s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02625" and click on update 5s
Then I verify Section 801 Indicator field is optional 7s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02625" and click on update 2s
And I verify in update page a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 2s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02625" and click on update 3s
Then I update the fields and click on review trial 4s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02625" and click on update 3s
Then I update the fields and click on submit 9s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02625" and click on update 3s
Then I update the fields and click on review trial 6s
And I shall be able to click on Print button 1s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02638" and click on Amend 2s
Then I verify Sponsor/Responsible Party section is optional in amendment Trial page 9s
And I verify Sponsor field is optional 6s
And I verify Responsible Party field is optional 6s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02638" and click on Amend 3s
Then I enter null in sponsor field 8s
And I verify the validation error message "Responsible Party is required" is removed 8s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02638" and click on Amend 3s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 4s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02638" and click on Amend 3s
Then I enter amendment date and click review trial 8s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02638" and click on Amend 5s
Then I enter amendment date and click review trial 10s
And I shall be able to click on Print button 1s
Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02627" and click on Amend 3s
Then I enter amendment date and click on submit 12s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02628" and click on Amend 4s
Then I verify Regulatory Information section is optional 9s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02628" and click on Amend 3s
Then I verify FDA Regulated Intervention Indicator field is optional 11s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02628" and click on Amend 3s
Then I verify Section 801 Indicator field is optional 8s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02628" and click on Amend 4s
Then I navigate to Regulatory Information section 5s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02628" and click on Amend 3s
Then I enter amendment date and click review trial 8s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02628" and click on Amend 3s
Then I enter amendment date and click review trial 7s
And I shall be able to click on Print button 1s
Then I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02629" and click on Amend 4s
Then I enter amendment date and click on submit 16s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I enter all details and click submit trial 38s
And I Connect to database to verify an email is sent 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02620" and click on Amend 4s
Then I enter amendment date and click on submit 13s
And I connect to the database to verify an email is sent 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02625" 3s
Then I click on select action 0s
And I verify view xml is listed 1s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I enter all the details and click review trial 33s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 3s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I enter all the details and click submit trial 48s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I populate all required fields 38s
And I save the "National" trial as draft 2s
Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I enter all the details and click review trial 22s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22479-4gdnce/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:95:in `click' ./features/step_definitions/registry_ind_ide_info.rb:618:in `/^I fill all fields$/' ./features/step_definitions/registry_ind_ide_info.rb:578:in `/^I complete the remaining Non-Interventional trial$/' ./features/step_definitions/ct.gov_xml_registry.rb:316:in `/^I enter all the details and click review trial$/' features/registry/ui/ct.gov_xml_req.feature:370:in `Then I enter all the details and click review trial'
And I shall be able to click on Print button
Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I enter all the details except "FDA Regulated Intervention" field in Reg Info section 47s
And I verify the validation message "Error Message: FDA Regulated Intervention Indicator is required field." is removed 7s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 1s
Then I enter all the details except "Section801 Indicator" field in Reg Info section 42s
And I verify the validation message "Error Message: Section 801 is required if FDA Regulated indicator is true." is removed 7s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 0s
Then I enter all the details and click review trial 33s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 3s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I enter all the details and click submit trial 33s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I populate all required fields 26s
And I save the "National" trial as draft 1s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I enter all the details and click review trial 22s
And I shall be able to click on Print button 1s
Then I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 2s
Then I verify Sponsor/Responsible Party section is optional in Update Trial page 7s
And I verify Sponsor field is optional 6s
And I verify Responsible Party field is optional 6s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 1s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present on update page 1s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 1s
Then I update the fields and click on review trial 3s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 2s
Then I update the fields and click on review trial 1s
And I verify Sponsor field is optional in Update Trial(Review) page 9s
And I verify Responsible Party field is optional 6s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 1s
Then I update the fields and click on review trial 2s
And I shall be able to click on Print button 1s
Then I verify Sponsor field is optional in Update Trial(Print) page 6s
And I verify Responsible Party field is optional 6s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 2s
Then I update the fields and click on review trial 1s
And I shall be able to click on Print button 1s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 1s
Then I update the fields and click on submit 4s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 1s
Then I verify Regulatory Information section is optional 7s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 1s
Then I verify FDA Regulated Intervention Indicator field is optional 7s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 3s
Then I verify Section 801 Indicator field is optional 6s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 2s
And I verify in update page a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 1s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02630" and click on update 2s
Then I update the fields and click on review trial 1s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 1s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 2s
Then I update the fields and click on submit 4s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02630" and click on update 2s
Then I update the fields and click on review trial 1s
And I shall be able to click on Print button 1s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02631" and click on Amend 2s
Then I verify Sponsor/Responsible Party section is optional in amendment Trial page 8s
And I verify Sponsor field is optional 6s
And I verify Responsible Party field is optional 6s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02631" and click on Amend 1s
Then I enter null in sponsor field 4s
And I verify the validation error message "Responsible Party is required" is removed 8s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02631" and click on Amend 2s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 3s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02631" and click on Amend 2s
Then I enter amendment date and click review trial 5s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02631" and click on Amend 2s
Then I enter amendment date and click review trial 6s
And I shall be able to click on Print button 0s
Then I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02632" and click on Amend 2s
Then I enter amendment date and click on submit 9s
And I verify note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02633" and click on Amend 2s
Then I verify Regulatory Information section is optional 8s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02633" and click on Amend 1s
Then I verify FDA Regulated Intervention Indicator field is optional 8s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02633" and click on Amend 2s
Then I verify Section 801 Indicator field is optional 8s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02633" and click on Amend 1s
Then I navigate to Regulatory Information section 4s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is displayed 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02633" and click on Amend 2s
Then I enter amendment date and click review trial 3s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 1s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02633" and click on Amend 1s
Then I enter amendment date and click review trial 3s
And I shall be able to click on Print button 1s
Then I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02634" and click on Amend 1s
Then I enter amendment date and click on submit 9s
And I verify a note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov is present 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-00388" and click on update 1s
Then I verify Sponsor/Responsible Party section is present 2s
And I verify Regulatory Information section is present 0s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-00388" and click on Amend 1s
Then I verify Sponsor/Responsible Party section is present 3s
And I verify Regulatory Information section is present 0s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I populate all the required fields 23s
And I click on review trial 0s
When I click on submit trial 4s
Then I verify trial is created succesfully and generates an nci ID 0s
When I login into CTRP(PA) and search for a trial with generated nci ID 24s
Then I navigate to Trial Validation page and click reject 6s
Then I verify the trial is rejected successfully 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02660" 4s
Then I navigate to "Trial Milestones" link 1s
And I add 'Trial Summary Report Date' milestone 3s
Then I connect to database and verify an email is sent 0s
Given I login into CTRP Registry 15s
When I search for a trial "NCI-2017-00388" 2s
Then I click on select action 0s
And I verify view xml is listed 0s
Given I login into CTRP Registry 1s
And I click on Add Organization from 0s
Then For add Org, It should give message 8s
Given I login into CTRP Registry 1s
And I search for Trial with NCI ID "NCI-2017-00389" 3s
And I select to Amend the Trial 0s
And I click on Add Organization from amendment 0s
Then For add Org, It should give message 9s
Given service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=1" and cutoff date value "&cutOffDt=03-11-2016" 6s
Given service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=2" and cutoff date value "&cutOffDt=03-11-2016" 6s
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=9" and cutoff date value "&cutOffDt=03-11-2016" 1s
Then accrual count and cutoff-date matching the query "9" and "03-11-2016" are returned from the database 0s
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=1" and cutoff date value "&cutOffDt=03-10-2009" 1s + Show Error
Expected Response code: 200 but got 500.
("500")("US-ASCII") expected but was
("200")("UTF-8"). (Test::Unit::AssertionFailedError)
./features/step_definitions/accrual_service.rb:42:in `/^the accrual service is called by providing "([^"]*)" and NCI ID "([^"]*)" and "([^"]*)" and accrual count value "([^"]*)" and cutoff date value "([^"]*)"$/'
features/accrual/backend/accrual_service_test.feature:38:in `Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=1" and cutoff date value "&cutOffDt=03-10-2009"'
features/accrual/backend/accrual_service_test.feature:34:in `Given the accrual service is called by providing "(parameter)" and NCI ID "(nci_id)" and "(site_po_id)" and accrual count value "(accrual_count)" and cutoff date value "(cutoff_date)"'
Then accrual count and cutoff-date matching the query "1" and "03-10-2009" are returned from the database
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=6" and cutoff date value "&cutOffDt=03-10-2012" 1s
Then the cutoff-date matching the query "6" and "03-10-2012" are returned from the database 0s
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=10" and cutoff date value "&cutOffDt=03-10-2015" 1s
Then accrual count and cutoff-date matching the query "10" and "03-10-2015" are returned from the database 0s
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=8" and cutoff date value "&cutOffDt=03-10-2014" 1s
Then accrual count and cutoff-date matching the query "8" and "03-10-2014" are returned from the database 0s
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=7" and cutoff date value "&cutOffDt=03-10-2013" 1s
Then accrual count and cutoff-date matching the query "7" and "03-10-2013" are returned from the database 0s
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=4" and cutoff date value "&cutOffDt=03-10-2011" 1s
Then accrual count and cutoff-date matching the query "4" and "03-10-2011" are returned from the database 0s
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=3" and cutoff date value "&cutOffDt=03-10-2010" 1s
Then accrual count and cutoff-date matching the query "3" and "03-10-2010" are returned from the database 0s
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=2" and cutoff date value "&cutOffDt=03-10-2015" 1s
Then accrual count and cutoff-date matching the query "2" and "03-10-2015" are returned from the database 0s
Given the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=0" and cutoff date value "&cutOffDt=03-10-2001" 1s
Then accrual count ZERO matching the query "0" returned from the database 0s
Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=10" and cutoff date value "&cutOffDt=05-11-1990" 1s
Then the accrual count matching the query "10" returned from the database 0s
Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=19" and cutoff date value "&cutOffDt=03-12-1998" 1s
Then the accrual count matching the query "19" returned from the database 0s
Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=12" and cutoff date value "&cutOffDt=05-11-1999" 1s
Then the cutoff-date matching the query "05-11-1999" returned from the database 0s
Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=16" and cutoff date value "&cutOffDt=03-12-2016" 2s
Then the cutoff-date matching the query "03-12-2016" returned from the database 0s
Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=4" and cutoff date value "&cutOffDt=03-10-2011" 1s
Then the accrual count and cutoff-date matching the query "4" and "03-10-2011" are returned from the database 0s
Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=3" and cutoff date value "&cutOffDt=03-10-2010" 1s
Then the accrual count and cutoff-date matching the query "3" and "03-10-2010" are returned from the database 0s
Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=2" and cutoff date value "&cutOffDt=03-10-2015" 1s
Then the accrual count and cutoff-date matching the query "2" and "03-10-2015" are returned from the database 0s
Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=1" and cutoff date value "&cutOffDt=03-10-2009" 1s
Then the accrual count and cutoff-date matching the query "1" and "03-10-2009" are returned from the database 0s
Given the service is called by providing trials nci "trials/nci/" sites "sites/po/" and and NCI ID "NCI-2017-02679" and "Novartis Pharmaceuticals" and accrual count value "count?count=0" and cutoff date value "&cutOffDt=03-10-2001" 1s
Then the accrual count ZERO matching the query "0" returned ZERO from the database 0s + Show Error
expected: "5"
got: "0"
(compared using eql?)
(RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/accrual_service.rb:141:in `/^the accrual count ZERO matching the query "([^"]*)" returned ZERO from the database$/'
features/accrual/backend/accrual_service_test.feature:104:in `Then the accrual count ZERO matching the query "0" returned ZERO from the database'
features/accrual/backend/accrual_service_test.feature:101:in `Then the accrual count ZERO matching the query "(matches_accual_count)" returned ZERO from the database'
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02906',type 'ctep' id 'VN456' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site VN456" 0s
And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02906',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 7434" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02906',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site WQ456" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02906',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 5625" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02907',type 'ctep' id 'VN456' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site VN456" 0s
And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02907',type 'po' id '7434' and user 'submitter' 1s
And I verify the response code is '200' 0s
And I verify response body is "nil" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 1s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02907',type 'ctep' id 'WQ456' and user 'submitter' 2s
And I verify the response code is '200' 0s
And I verify response body is "nil" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 1s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02907',type 'po' id '5625' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 5625" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02908',type 'ctep' id 'VN456' and user 'submitter' 1s
And I verify the response code is '200' 0s
And I verify response body is "nil" 0s
And I query the database with poid 'VN456' and verify the patient records are|are not inserted 1s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02908',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 7434" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02908',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site WQ456" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02908',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '200' 0s
And I verify response body is "nil" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 1s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02909',type 'ctep' id 'VN456' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site VN456" 0s
And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02909',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 7434" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02909',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site WQ456" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02909',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 5625" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02910',type 'ctep' id 'VN456' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site VN456" 0s
And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02910',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 7434" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02910',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site WQ456" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02910',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 5625" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02911',type 'ctep' id 'VN456' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site VN456" 0s
And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02911',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 7434" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02911',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site WQ456" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02911',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 5625" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02912',type 'ctep' id 'VN456' and user 'submitter' 0s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site VN456" 0s + Show Error
Verifying "Accrual-service Response Body" Expect value is User does not have accrual access to site VN456 Actual value is could not execute query | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/' features/accrual/backend/accrual_service_test.feature:239:in `And I verify response body is "User does not have accrual access to site VN456"' features/accrual/backend/accrual_service_test.feature:235:in `And I verify response body is "(response_body)"'
And I query the database with poid 'VN456' and verify the patient records are|are not inserted
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02912',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 7434" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02912',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site WQ456" 0s + Show Error
Verifying "Accrual-service Response Body" Expect value is User does not have accrual access to site WQ456 Actual value is could not initialize a collection: [gov.nih.nci.po.data.bo.Organization.fax#7434] | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/accrual_service.rb:152:in `/^I verify response body is "([^"]*)"$/' features/accrual/backend/accrual_service_test.feature:241:in `And I verify response body is "User does not have accrual access to site WQ456"' features/accrual/backend/accrual_service_test.feature:235:in `And I verify response body is "(response_body)"'
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'true' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02912',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 5625" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02913',type 'ctep' id 'VN456' and user 'submitter' 0s
And I verify the response code is '500' 0s + Show Error
Verifying "Accrual-service Response Code" Expect value is 500 Actual value is 404 | Actual value should equal to expect value, Fail! (RuntimeError) ./features/support/tools/bdd_matcher.rb:120:in `match' ./features/support/tools/bdd_matcher.rb:11:in `eq' ./features/step_definitions/accrual_service.rb:165:in `/^I verify the response code is '([^"]*)'$/' features/accrual/backend/accrual_service_test.feature:254:in `And I verify the response code is '500'' features/accrual/backend/accrual_service_test.feature:249:in `And I verify the response code is '500''
And I verify response body is "User does not have accrual access to site VN456"
And I query the database with poid 'VN456' and verify the patient records are|are not inserted
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02913',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 7434" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02913',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 2s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site WQ456" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02913',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 5625" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02914',type 'ctep' id 'VN456' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site VN456" 0s
And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02914',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 7434" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02914',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site WQ456" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02914',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 5625" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'true' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02915',type 'ctep' id 'VN456' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "Accrual for CTEP or DCP trials can only be submitted by CTEP or DCP." 0s
And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02916',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '200' 0s
And I verify response body is "nil" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 1s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'true' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02916',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s
And I verify the response code is '200' 0s
And I verify response body is "nil" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 1s
Given I set the role site accrual submitter as 'true' and family accrual submitter as 'true' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02915',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "Accrual for CTEP or DCP trials can only be submitted by CTEP or DCP." 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02917',type 'ctep' id 'VN456' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site VN456" 0s
And I query the database with poid 'VN456' and verify the patient records are|are not inserted 0s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02918',type 'po' id '7434' and user 'ctrpsubstractor' 1s
And I verify the response code is '200' 0s
And I verify response body is "nil" 0s
And I query the database with poid '7434' and verify the patient records are|are not inserted 1s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'ctrpsubstractor' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02918',type 'ctep' id 'WQ456' and user 'ctrpsubstractor' 1s
And I verify the response code is '200' 0s
And I verify response body is "nil" 0s
And I query the database with poid 'WQ456' and verify the patient records are|are not inserted 1s
Given I set the role site accrual submitter as 'false' and family accrual submitter as 'false' for user 'submitter' 0s
Then I hit the accrual rest service with NCT ID 'NCI-2017-02917',type 'po' id '5625' and user 'submitter' 1s
And I verify the response code is '500' 0s
And I verify response body is "User does not have accrual access to site 5625" 0s
And I query the database with poid '5625' and verify the patient records are|are not inserted 0s
Given Accrual App launch 2s
Given I login into the CTRP Accrual UI app 11s
And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=0" and cutoff date value "&cutOffDt=01-01-1900" 1s
And I am in the accrual trial search page and I search for a trial with NCI trial identifier 2s
And I know the trial type and status as following: 1s
And I click on the trial link to view the participating site accrual count page 1s
And I ADD the trial subject enrolled accrual count and cut-off date 6s
Then Participating Site Subject Accrual Count page displays record updated message 0s
And I navigate to Batch Upload page 1s
And I am in Participating Site Subject Accrual Count page 6s
Then the Participating Site Subject Accrual Count page Accrual count and Cut-Off date should be Added 2s
Given I login into the CTRP Accrual UI app 2s
And the accrual service is called by providing "sites" and NCI ID "NCI-2017-02679" and "7434" and accrual count value "count?count=7" and cutoff date value "&cutOffDt=01-01-1901" 1s
And I am in the accrual trial search page and I search for a trial with NCI trial identifier 3s
And following table columns displays in the search result page 0s
And I know the trial type and status as following: 1s
And I click on the trial link to view the participating site accrual count page 1s
And I ADD the trial subject enrolled accrual count and cut-off date 6s
And I navigate to Batch Upload page 1s
And I am in Participating Site Subject Accrual Count page 6s
Then I UPDATED the trial subject enrolled accrual count and cut-off date 6s
And Participating Site Subject Accrual Count page displays record updated message 0s
Then the Participating Site Subject Accrual Count page Accrual count and Cut-Off date should be updated 0s
Given I click to view xml of "NCI-2017-00384" 21s
Then the field "oversight_info.fda_regulated_drug = Yes" should be there 0s
Given I click to view xml of "NCI-2017-00387" 24s
Then the field "oversight_info.fda_regulated_drug = No" should be there 0s
Given I click to view xml of "NCI-2017-00390" 26s
Then the field "oversight_info.fda_regulated_drug" should not be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "oversight_info.fda_regulated_device = No" should be there 0s
Given I click to view xml of "NCI-2017-00390" 0s
Then the field "oversight_info.fda_regulated_device" should not be there 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "oversight_info.post_prior_to_approval = Yes" should be there 0s
Given I click to view xml of "NCI-2017-00381" 25s
Then the field "oversight_info.post_prior_to_approval = No" should be there 0s
Given I click to view xml of "NCI-2017-00385" 22s
Then the field "oversight_info.post_prior_to_approval" should not be there 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "oversight_info.ped_postmarket_surv = Yes" should be there 0s
Given I click to view xml of "NCI-2017-00389" 22s
Then the field "oversight_info.ped_postmarket_surv" should not be there 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "oversight_info.exported_from_us = Yes" should be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "oversight_info.exported_from_us = No" should be there 0s
Given I click to view xml of "NCI-2017-00390" 0s
Then the field "oversight_info.exported_from_us" should not be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "study_design.interventional_design.model_description" should not be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "study_design.interventional_design.masking_description" should not be there 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "Eligibility.gender_based = Yes" should be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "Eligibility.gender_based = No" should be there 0s
Given I click to view xml of "NCI-2017-00391" 24s
Then the field "Eligibility.gender_based" should not be there 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "Eligibility.gender_description" should be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "Eligibility.gender_description" should not be there 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "ind_info.expanded_access_nct_id" should be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "ind_info.expanded_access_nct_id" should not be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "oversight_info.regulatory_authority" should not be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "study_design.endpoint" should not be there 0s
Given I click to view xml of "NCI-2017-00391" 0s
Then the field "primary_outcome.outcome_safety_issue" should not be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "study_design.interventional_design.masking" should not be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the new value as "Device Feasibility" should be there in "study_design.interventional_design.interventional_subtype" 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the new value as "Sequential Assignment" should be there in "study_design.interventional_design.assignment" 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "start_date_type" should be populated 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "start_date" should be populated 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "primary_compl_date" should be populated 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "primary_compl_date_type" should be populated 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "completion_date" should be populated 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "completion_date_type" should be populated 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "delayed_posting = Yes" should be there 0s
Given I click to view xml of "NCI-2017-00391" 0s
Then the field "delayed_posting = No" should be there 0s
Given I click to view xml of "NCI-2017-00389" 0s
Then the field "delayed_posting = No" should be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the new value as "Early Phase I" should be there in "phase" 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "study_design.interventional_design.no_masking" with "Yes" should be there 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "study_design.interventional_design.no_masking" with "No" should be there 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "eligibility.gender" with "Female" should be there 0s
Given I click to view xml of "NCI-2017-00391" 0s
Then the field "eligibility.gender" with "All" should be there 0s
Given I click to view xml of "NCI-2017-00384" 0s
Then the field "indinfo.has_expanded_access" with "Yes" should be there 0s
Given I click to view xml of "NCI-2017-00391" 0s
Then the field "indinfo.has_expanded_access" with "No" should be there 0s
Given I click to view xml of "NCI-2017-00387" 0s
Then the field "indinfo.has_expanded_access" with "Unknown" should be there 0s
Given I click to view xml of "NCI-2017-00390" 0s
Then the field "indinfo.has_expanded_access" should not be there 0s
Given I click to view xml of "NCI-2017-00391" 0s
Then the field "expanded_access_status" should not be there 0s
Given In DB exempt_indicator is set to "True" with IND_IDE values for trial ID "NCI-2017-00391" 0s
And I click to view xml of "NCI-2017-00391" again 25s
Then the field "is_ind_study" with "Yes" should be there 0s
And the field "indinfo.ind_grantor" with "CDER" should be there 0s
And the field "indinfo.ind_number" with "68568" should be there 0s
And the field "indinfo.has_expanded_access" with "No" should be there 0s
And the field "ind_info.expanded_access_nct_id" should not be there 0s
Given In DB exempt_indicator is set to "False" with IND_IDE values for trial ID "NCI-2017-00391" 0s
And I click to view xml of "NCI-2017-00391" again 25s
Then the field "is_ind_study" with "Yes" should be there 0s
And the field "indinfo.ind_grantor" with "CDER" should be there 0s
And the field "indinfo.ind_number" with "68568" should be there 0s
And the field "indinfo.has_expanded_access" with "No" should be there 0s
And the field "ind_info.expanded_access_nct_id" should not be there 0s
Given In DB exempt_indicator is set to "True" with IND_IDE values for trial ID "NCI-2017-00387" 0s
And I click to view xml of "NCI-2017-00387" again 25s
Then the field "is_ind_study" with "Yes" should be there 0s
And the field "indinfo.ind_grantor" with "CDER" should be there 0s
And the field "indinfo.ind_number" with "7686" should be there 0s
And the field "indinfo.has_expanded_access" with "Unknown" should be there 0s
Then the field "ind_info.expanded_access_nct_id" should not be there 0s
Given In DB exempt_indicator is set to "False" with IND_IDE values for trial ID "NCI-2017-00387" 0s
And I click to view xml of "NCI-2017-00387" again 26s
Then the field "is_ind_study" with "Yes" should be there 0s
And the field "indinfo.ind_grantor" with "CDER" should be there 0s
And the field "indinfo.ind_number" with "7686" should be there 0s
And the field "indinfo.has_expanded_access" with "Unknown" should be there 0s
And the field "ind_info.expanded_access_nct_id" should not be there 0s
Given In DB exempt_indicator is set to "True" with IND_IDE values for trial ID "NCI-2017-00390" 0s
And I click to view xml of "NCI-2017-00390" again 26s
Then the field "is_ind_study" with "Yes" should be there 0s
And the field "indinfo.ind_grantor" with "CBER" should be there 0s
And the field "indinfo.ind_number" with "2222" should be there 0s
And the field "ind_info.expanded_access_nct_id" should not be there 0s
Given In DB exempt_indicator is set to "False" with IND_IDE values for trial ID "NCI-2017-00390" 0s
And I click to view xml of "NCI-2017-00390" again 29s
Then the field "is_ind_study" with "Yes" should be there 0s
And the field "indinfo.ind_grantor" with "CBER" should be there 0s
And the field "indinfo.ind_number" with "2222" should be there 0s
And the field "indinfo.has_expanded_access" should not be there 0s
And the field "ind_info.expanded_access_nct_id" should not be there 0s
Given I click to view xml of "NCI-2017-02650" again 30s
Then the field "is_ind_study" with "Yes" should be there 0s
And the field "indinfo.ind_grantor" with "CDER" should be there 0s
And the field "indinfo.ind_number" with "00007" should be there 0s
And the field "indinfo.has_expanded_access" with "Unknown" should be there 0s
And the field "ind_info.expanded_access_nct_id" should not be there 0s
And it shall display only one ind information 0s
Given I click to view xml of "NCI-2017-00381" from PA app 53s
Then the field "is_ind_study" with "Yes" should be there 0s
And the field "indinfo.ind_grantor" with "CDER" should be there 0s
And the field "indinfo.ind_number" with "111111" should be there 0s
And the field "indinfo.has_expanded_access" with "Yes" should be there 0s
And the field "ind_info.expanded_access_nct_id" should not be there 0s
And it shall display only one ind information 0s
Then I delete the Top IND information 45s
And I click to view xml of "NCI-2017-00381" from PA app 22s
Then the field "is_ind_study" with "Yes" should be there 0s
And the field "indinfo.ind_grantor" with "CDRH" should be there 0s
And the field "indinfo.ind_number" with "222222" should be there 0s
And the field "indinfo.has_expanded_access" with "Yes" should be there 0s
And the field "ind_info.expanded_access_nct_id" should not be there 0s
And it shall display only one ind information 0s
Given I connect to "PA" ftp server 0s
Then ftp file "integration/clinical.txt" was generated within past 86400 seconds 2m 8s + Show Error
Connection timed out - connect(2) for "129.43.254.242" port 28124 (Errno::ETIMEDOUT) ./features/support/tools/ftp_helper.rb:21:in `file_exist?' ./features/step_definitions/ct_gov_ftp.rb:16:in `/^ftp file "([^"]*)" was generated within past (\d+) seconds$/' features/pa/nightly_jobs/ct_gov_ftp.feature:7:in `Then ftp file "integration/clinical.txt" was generated within past 86400 seconds'
And ftp file "integration/clinical.txt" should be a valid xml
Given I connect to "PA" ftp server 0s
When I save ftp file "integration/clinical.txt" as tmp file "CTFTP_02.xml" 2m 8s + Show Error
Connection timed out - connect(2) for "129.43.254.242" port 33417 (Errno::ETIMEDOUT) ./features/support/tools/ftp_helper.rb:26:in `read_text' ./features/step_definitions/ct_gov_ftp.rb:32:in `/^I save ftp file "([^"]*)" as tmp file "([^"]*)"$/' features/pa/nightly_jobs/ct_gov_ftp.feature:13:in `When I save ftp file "integration/clinical.txt" as tmp file "CTFTP_02.xml"'
Then tmp file "CTFTP_02.xml" should only have trials with these NCI ids
Given I login into CTRP 30s
When I click on Search "Trials" link 3s
Then I verify XML required field is removed 6s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 8s
When I click on "Trial Identification" link 11s
Then I verify ct.gov XML required field is removed 6s
Given I login into CTRP and search with NCI ID "NCI-2017-00388" 8s
When I click on "Trial Identification" link 10s
Then I verify ct.gov XML required field is removed 6s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 10s
When I click on "Regulatory Information" link 11s
Then I verify all these fields are optional 10s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 8s
When I click on "Regulatory Information" link 11s
And I fill all fields except FDA Regulated Intervention Indicator field and save 13s
Then I verify error message "FDA Regulated Intervention Indicator is required field" is removed 6s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 7s
When I click on "Regulatory Information" link 9s
And I fill all fields except Section 801 Indicator field and save 10s
Then I verify error message "The Section801 Indicator cannot be empty" is removed 6s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 9s
When I click on "General Trial Details" link 10s
Then I navigate to Sponsor/Responsible party section 0s
And I verify the note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov 0s
Given I login into CTRP and search with NCI ID "NCI-2017-00388" 8s
When I click on "General Trial Details" link 9s
Then I navigate to Sponsor/Responsible party section 0s
And I verify the note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 9s
When I click on "Regulatory Information" link 10s
Then I verify the note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 9s
When I click on "General Trial Details" link 11s
Then I verify ClinicalTrails.gov XML required field is removed 0s
Given I login into CTRP and search with NCI ID "NCI-2017-00388" 9s
When I click on "General Trial Details" link 10s
Then I verify ClinicalTrails.gov XML required field is removed 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 8s
When I click on "General Trial Details" link 14s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:49:in `click_page'
./features/step_definitions/eligibility_criteria.rb:30:in `/^I click on "([^"]*)" link$/'
features/pa/ui/ct.gov_xml_req.feature:83:in `When I click on "General Trial Details" link'
features/pa/ui/ct.gov_xml_req.feature:79:in `When I click on "General Trial Details" link'
Then I verify Sponsor/Responsible party section is displayed
Given I login into CTRP and search with NCI ID "NCI-2017-00388" 9s
When I click on "General Trial Details" link 12s
Then I verify Sponsor/Responsible party section is displayed 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 10s
When I click on "General Trial Details" link 10s
Then I verify Sponsor field required validation is removed 12s
Given I login into CTRP and search with NCI ID "NCI-2017-00388" 9s
When I click on "General Trial Details" link 14s
Then I verify Sponsor field required validation is removed 11s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 11s
When I click on "General Trial Details" link 9s
Then I verify Responsible Party field required validation is removed 13s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/ct.gov_xml.rb:25:in `/^I verify Responsible Party field required validation is removed$/'
features/pa/ui/ct.gov_xml_req.feature:103:in `Then I verify Responsible Party field required validation is removed'
features/pa/ui/ct.gov_xml_req.feature:100:in `Then I verify Responsible Party field required validation is removed'
Given I login into CTRP and search with NCI ID "NCI-2017-00388" 12s
When I click on "General Trial Details" link 13s
Then I verify Responsible Party field required validation is removed 10s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 10s
When I click on "General Trial Details" link 6s
Then I select 'Principal Investigator' in responsible Party field 1s
Then I verify these fields with required validations are present 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 8s
When I click on "General Trial Details" link 9s
Then I select 'Sponsor-Investigator' in responsible Party field 1s
And I verify these fields with required validations are present 1s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 7s
When I click on "General Trial Details" link 8s
Then I select 'Sponsor' in responsible Party field 0s
And I verify these fields are not displayed 0s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 6s
Then I click on "Trial Validation" link 13s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:49:in `click_page'
./features/step_definitions/eligibility_criteria.rb:30:in `/^I click on "([^"]*)" link$/'
features/pa/ui/ct.gov_xml_req.feature:143:in `Then I click on "Trial Validation" link'
And I verify ClinicalTrails.gov XML required field is removed
Then I connect to database and verify the xml required field is Yes for generated NCI ID
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 5s
Then I click on "Trial Validation" link 9s
And I verify Responsible Party field required validation is removed 13s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 7s
Then I click on "Trial Validation" link 11s
Then I select 'Principal Investigator' in responsible Party field 3s
And I verify these fields with required validations are present 0s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 7s
Then I click on "Trial Validation" link 8s
Then I select 'Sponsor-Investigator' in responsible Party field 1s
And I verify these fields with required validations are present 0s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 7s
Then I click on "Trial Validation" link 10s
Then I select 'Sponsor' in responsible Party field 0s
And I verify these fields are not displayed 0s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 8s
Then I click on "Trial Validation" link 9s
And I navigate to Sponsor/Responsible party section 0s
Then I verify the note: The information in this section is REQUIRED to enable "Upload from NCI CTRP" in ClinicalTrials.gov 0s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 7s
Then I click on "Trial Validation" link 15s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:49:in `click_page'
./features/step_definitions/eligibility_criteria.rb:30:in `/^I click on "([^"]*)" link$/'
features/pa/ui/ct.gov_xml_req.feature:251:in `Then I click on "Trial Validation" link'
When I add a sponsor
And I verify delete button is displayed
When I click on delete
Then I verify the sponsor is deleted
And I connect to the database and verify the sponsor field value is null
And I verify the xml required field is Yes for generated NCI ID
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 7s
Then I click on "Trial Validation" link 7s + Show Error
Unable to locate element: {"method":"xpath","selector":"//a[contains(.,'Trial Validation')]"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/search_clinical_trials_pa.rb:49:in `click_page'
./features/step_definitions/eligibility_criteria.rb:30:in `/^I click on "([^"]*)" link$/'
features/pa/ui/ct.gov_xml_req.feature:263:in `Then I click on "Trial Validation" link'
And I enter Responsible party field as sponsor
When I delete sponsor field
Then I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed
When I enter Responsible party field as sponsor-Investigator
Then I delete sponsor field
And I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 11s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/step_definitions/eligibility_criteria.rb:24:in `/^I login into CTRP and search with NCI ID "([^"]*)"$/'
features/pa/ui/ct.gov_xml_req.feature:283:in `Given I login into CTRP and search with NCI ID "NCI-2017-02641"'
features/pa/ui/ct.gov_xml_req.feature:273:in `Given I login into CTRP and search with NCI ID "(NCI_ID)"'
When I click on "General Trial Details" link
Then I enter Responsible party field as sponsor
And I delete sponsor field
Then I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed
When I enter Responsible party field as sponsor-Investigator
Then I delete sponsor field
And I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed
Given I login into CTRP and search with NCI ID "NCI-2017-00388" 6s
When I click on "General Trial Details" link 10s
Then I enter Responsible party field as sponsor 1s
And I delete sponsor field 4s
Then I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed 0s
When I enter Responsible party field as sponsor-Investigator 1s
Then I delete sponsor field 5s
And I verify validation message "Please change Responsible Party from Sponsor/Sponsor-Investigatior before deleting Sponsor." is displayed 0s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 8s
Then I click on "Trial Validation" link 10s
And I enter sponsor field as null 1s
When I enter Responsible party field as sponsor and save 3s
Then I verify validation message "Sponsor must be entered" is displayed 0s
And I enter Responsible party field as sponsor-Investigator 1s
Then I verify validation message "Please select a Sponsor." is displayed 0s
Given I login into CTRP and search with NCI ID "NCI-2017-02641" 6s
When I click on "General Trial Details" link 6s
Then I enter sponsor field as null 0s
When I enter Responsible party field as sponsor and save 2s
Then I verify validation message "Sponsor must be entered" is displayed 0s
And I enter Responsible party field as sponsor-Investigator 0s
Then I verify validation message "Please select a Sponsor." is displayed 0s
Given I login into CTRP and search with NCI ID "NCI-2017-00388" 5s
When I click on "General Trial Details" link 6s
Then I enter sponsor field as null 1s
When I enter Responsible party field as sponsor and save 3s
Then I verify validation message "Sponsor must be entered" is displayed 0s
And I enter Responsible party field as sponsor-Investigator 1s
Then I verify validation message "Please select a Sponsor." is displayed 0s
Given I run the rest service to generate new NCI ID 2s
When I login into CTRP and search for a trial with generated NCI ID 5s
Then I click on "Trial Validation" link 6s
And I enter sponsor field as null 1s
When I enter Responsible party field as sponsor and save 7s
Then I verify validation message "Sponsor must be entered" is displayed 0s
And I enter Responsible party field as sponsor-Investigator and click save 2s
Then I verify validation message "Sponsor must be entered" is displayed 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02762" 5s
Then I click on "Data Table 4 Anatomic Site" link 6s
And I click on add 1s
Then I select an item say "Anus" and click save 2s
And I connect to database and verify anatomic site is saved successfully 0s
Given I login into CTRP 2s
Then I navigate to "Super Abstractor" page 12s
And I Select submission type as "Amendment" 7s
And I select a trial between submitted date range "09/25/2017" to "09/26/2017" 6s + Show Error
Unable to locate element: {"method":"xpath","selector":"//th[@class='filter lastCreated.dateLastCreated sortable']//i"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/pa/super_abstractor.rb:37:in `select_date_range_submitted_on'
./features/step_definitions/super_abstraction.rb:8:in `/^I select a trial between submitted date range "([^"]*)" to "([^"]*)"$/'
features/pa/ui/super_abstractor.feature:10:in `And I select a trial between submitted date range "09/25/2017" to "09/26/2017"'
And I edit the expected super abstracted date
Then I click on NCI Trial identifier "2017-02869"
And I navigate to "Trial Milestones" page
Then I add all the respective milestones
And I amend the trial using restservice
Then I navigate to "Super Abstractor" page
And I Select submission type as "Amendment"
And I verify the expected super abstracted date is reset to submission plus ten business days date of that trial
Given I Add Participating Site with no Investigator CTRP using RESTful service for NCI ID "NCI-2017-02693" 0s
Then I verify the response status of rest service is code '400' 0s
Given I Add Participating Site with two primary contact with investigator using RESTful service for NCI ID "NCI-2017-02665" 0s
Then I verify the response status of rest service is code '400' 0s
Given I Add Participating Site with investigator as false for integration_ps_false_pc_ind using RESTful service for NCI ID "NCI-2017-02748" 1s
Then I verify the response status of rest service is '200' 0s
And the rest service should generate an CTRP idenifier 0s
Then I GET the Participating Site for NCI ID "NCI-2017-02748" 0s
And I verify the values with the original payload for Participating Site for integration_ps_false_pc_ind 0s
Given I login into CTRP Registry 2s
And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02920" 7s
Then It shall give Add Participating Site screen with trial information 0s
And I select "Novartis Pharmaceuticals" from the list 0s
Then It shall give the fields to add and Save the Participating Site with "Primary, New Phone, New Email" Contact 20s
And Participating Site should be successfully saved 3s
Given I login into CTRP Registry 1s
And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02922" 8s
Then It shall give Add Participating Site screen with trial information 0s
And I select "Novartis Pharmaceuticals" from the list 1s
Then It shall give the fields to add and Save the Participating Site with "Generic, New Phone, New Email" Contact 26s + Show Error
Unable to locate element: {"method":"xpath","selector":"//div[@class='alert alert-success']"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:275:in `get_element_text'
./features/support/registry/participating_site_obj.rb:183:in `verify_ps_added'
./features/support/registry/participating_site_helper.rb:149:in `verify_ps_added_msg'
./features/step_definitions/registry_participating_sites.rb:63:in `/^It shall give the fields to add and Save the Participating Site with "([^"]*)" Contact$/'
features/registry/ui/add_participating_site.feature:48:in `Then It shall give the fields to add and Save the Participating Site with "Generic, New Phone, New Email" Contact'
And Participating Site should be successfully saved
Given I login into CTRP Registry 3s
And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02923" 10s
Then It shall give Add Participating Site screen with trial information 0s
And I select "Novartis Pharmaceuticals" from the list 1s
Then It shall give the fields to add and Save the Participating Site with "New Generic" Contact 27s + Show Error
Unable to locate element: {"method":"xpath","selector":"//div[@class='alert alert-success']"} (Selenium::WebDriver::Error::NoSuchElementError)
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/driver-component.js:10770:in `FirefoxDriver.prototype.findElementInternal_'
[remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/driver-component.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:275:in `get_element_text'
./features/support/registry/participating_site_obj.rb:183:in `verify_ps_added'
./features/support/registry/participating_site_helper.rb:149:in `verify_ps_added_msg'
./features/step_definitions/registry_participating_sites.rb:63:in `/^It shall give the fields to add and Save the Participating Site with "([^"]*)" Contact$/'
features/registry/ui/add_participating_site.feature:59:in `Then It shall give the fields to add and Save the Participating Site with "New Generic" Contact'
And Participating Site should be successfully saved
Given I login into CTRP Registry 2s
And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02930" 10s
And I select "Novartis Pharmaceuticals" from the list 1s
Then I validate the Email format 16s
And I validate the Phone format 11s
Given I login into CTRP Registry 16s
And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02924" 10s
And I select "Novartis Pharmaceuticals" from the list 0s
Then I validate the required fields 6s
And I fill all the required field and Save the Participating Site with "Primary" Contact and "Phone" 22s
Then Participating Site should be successfully saved 3s
Given I login into CTRP Registry 2s
And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02925" 10s
And I select "Novartis Pharmaceuticals" from the list 0s
And I fill all the required field and Save the Participating Site with "Generic" Contact and "Phone" 19s
Then Participating Site should be successfully saved 3s
Given I login into CTRP Registry 2s
And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02926" 10s
And I select "Novartis Pharmaceuticals" from the list 1s
And I fill all the required field and Save the Participating Site with "Primary" Contact and "Email" 23s
Then Participating Site should be successfully saved 4s
Given I login into CTRP Registry 2s
And I click to Add Participating Site from search result for abbreviated trial "NCI-2017-02927" 9s
And I select "Novartis Pharmaceuticals" from the list 0s
And I fill all the required field and Save the Participating Site with "Generic" Contact and "Email" 22s
Then Participating Site should be successfully saved 3s
Given I login into CTRP Registry 2s
And I click to Update Participating Site from search result for abbreviated trial "NCI-2017-02929" 12s
Then It shall give Update Participating Site screen with trial information 1s
Then I update the fields and Save the Participating Site with "Generic" Contact 20s
And Participating Site should be successfully saved 3s
Given I login into CTRP Registry 2s
Then I select to import a trial with NCT ID "NCT03332316" 14s
And I click to Add Participating Site 1s
Then It shall give Add Participating Site screen with trial information 5s
And I select "Novartis Pharmaceuticals" from the list 0s
And Generic Contact to add is "test_generic_contact" with phone "222-555-9999" and email "t@ts.com" 0s
Then It shall give the fields to add and Save the Participating Site with "Generic" Contact 25s + Show Error
Element not found in the cache - perhaps the page has changed since it was looked up (Selenium::WebDriver::Error::StaleElementReferenceError) [remote server] resource://fxdriver/modules/web-element-cache.js:9454:in `fxdriver.cache.getElementAt' [remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:9039:in `Utils.getElementAt' [remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:12092:in `WebElement.getElementText' [remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:275:in `get_element_text' ./features/support/registry/participating_site_obj.rb:183:in `verify_ps_added' ./features/support/registry/participating_site_helper.rb:149:in `verify_ps_added_msg' ./features/step_definitions/registry_participating_sites.rb:63:in `/^It shall give the fields to add and Save the Participating Site with "([^"]*)" Contact$/' features/registry/ui/add_participating_site.feature:163:in `Then It shall give the fields to add and Save the Participating Site with "Generic" Contact'
And Participating Site should be successfully saved
Given I login into CTRP Registry 3s
Then I select to import a trial with NCT ID "NCT03342118" 13s
And I click to Add Participating Site 1s
And I select "Novartis Pharmaceuticals" from the list 5s
Then I fill the form with Invalid Phone Contact 16s
Then It shall not save the Participating site 3s
Given I login into CTRP Registry 20s
And From Add Sites, I searched for trial id "NCI-2017-02920" to add site 6s
Then It shall give Add site screen with trial information 6s
And I fill the form and save the Participating Site with "Primary" Contact 17s
Then Participating Site from Add Sites should be successfully saved 4s
Given I login into CTRP Registry 1s
And From Add Sites, I searched for trial id "NCI-2017-02952" to add site 10s
Then It shall give Add site screen with trial information 7s
And I fill the form and save the Participating Site with "Primary, New Phone, New Email" Contact 24s
Then Participating Site from Add Sites should be successfully saved 4s
Given I login into CTRP Registry 5s
And From Add Sites, I searched for trial id "NCI-2017-02923" to add site 6s
Then It shall give Add site screen with trial information 5s
And I fill the form and save the Participating Site with "New Generic" Contact 23s
Then Participating Site from Add Sites should be successfully saved 4s
Given I login into CTRP Registry 2s
And From Add Sites, I searched for trial id "NCI-2017-02867" to add site 9s
Then I validate the Email format from Add Sites 23s
And I validate the Phone format from Add Sites 19s
Given I login into CTRP Registry 4s
And From Add Sites, I searched for trial id "NCI-2017-02922" to add site 6s
Then It shall give Add site screen with trial information 6s
And I fill the form and save the Participating Site with "Generic, New Phone, New Email" Contact 14s
Then Participating Site from Add Sites should be successfully saved 3s
Given I login into CTRP Registry 1s
And From Add Sites, I searched for trial id "NCI-2017-02924" to add site 5s
And I fill all the field and Save the Participating Site with "Primary" Contact and "Phone" 17s
Then Participating Site from Add Sites should be successfully saved 7s
Given I login into CTRP Registry 5s
And From Add Sites, I searched for trial id "NCI-2017-02925" to add site 7s
And I fill all the field and Save the Participating Site with "Generic" Contact and "Phone" 17s
Then Participating Site from Add Sites should be successfully saved 3s
Given I login into CTRP Registry 2s
And From Add Sites, I searched for trial id "NCI-2017-02926" to add site 8s
And I fill all the field and Save the Participating Site with "Primary" Contact and "Email" 18s
Then Participating Site from Add Sites should be successfully saved 8s
Given I login into CTRP Registry 2s
And From Add Sites, I searched for trial id "NCI-2017-02927" to add site 11s
And I fill all the field and Save the Participating Site with "Generic" Contact and "Email" 23s
Then Participating Site from Add Sites should be successfully saved 4s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 33s
Then I navigate to Regulatory Information screen 7s
And I fill all details and click save in Regulatory Information Screen 12s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 20s
And I search for a trial "NCI-2017-02625" and click on update 10s
Then I verify regulatory information field values are displayed in update trial page as in PA 9s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 37s
Then I navigate to Regulatory Information screen 10s
And I fill all details and click save in Regulatory Information Screen 5s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 16s
And I search for a trial "NCI-2017-02625" and click on update 3s
Then I verify regulatory information field values are displayed in submit trial page as in PA 18s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 30s
Then I navigate to Regulatory Information screen 3s
And I fill all details and click save in Regulatory Information Screen 5s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
And I search for a trial "NCI-2017-02625" and click on update 6s
Then I verify regulatory information field values are displayed in registry print page as in PA 15s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 32s
Then I navigate to Regulatory Information screen 5s
And I fill all details and click save in Regulatory Information Screen 4s
Then I verify confirm message "Message. Record Updated." is displayed 4s
Given I login into CTRP Registry 16s
And I search for a trial "NCI-2017-02625" and click on update 6s
Then I verify regulatory information data is displayed 4s
And I verify the regulatory information data in review trial details screen 9s
Then I shall be able to review the trial and submit an update 9s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 25s
Then I navigate to Regulatory Information screen 4s
And I fill all details and click save in Regulatory Information Screen 3s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 16s
Then I search for a trial "NCI-2017-02625" and click on update 7s
And I verify regulatory information data is displayed 4s
Then I shall be able to click on Cancel button in update trial screen 3s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 27s
Then I navigate to Regulatory Information screen 7s
And I fill all details and click save in Regulatory Information Screen 3s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 15s
Then I search for a trial "NCI-2017-02625" and click on update 5s
And I verify regulatory information data is displayed 6s
Then I shall be able to click on Edit button in review trial details screen 19s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 28s
Then I navigate to Regulatory Information screen 3s
And I fill all details as No and click save in Regulatory Information Screen 6s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 16s
And I search for a trial "NCI-2017-02625" and click on update 5s
Then I verify regulatory information fields are displayed in update trial page as in PA 26s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 27s
Then I navigate to Regulatory Information screen 7s
And I fill all details as No and click on save in Regulatory Information Screen 3s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 17s
And I search for a trial "NCI-2017-02625" and click on update 5s
Then I verify regulatory information fields are displayed in review trial page as in PA 30s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 26s
Then I navigate to Regulatory Information screen 5s
And I fill all details as No and click on save in Regulatory Information Screen 3s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 16s
And I search for a trial "NCI-2017-02625" and click on update 8s
Then I verify regulatory information fields are displayed in submit trial page as in PA 34s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 28s
Then I navigate to Regulatory Information screen 4s
And I fill all details as No and click on save in Regulatory Information Screen 4s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 16s
And I search for a trial "NCI-2017-02625" and click on update 7s
Then I verify regulatory information fields are displayed in registry print page as in PA 31s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02625" 28s
Then I navigate to Regulatory Information screen 3s
And I select Studies a U.S. FDA-regulated Device Product field as Yes and save 2s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 16s
And I search for a trial "NCI-2017-02625" and click on update 4s
Then I verify Unapproved/Uncleared and Pediatric Post-market Surveillance fields are null 10s
And I connect to database and verify the values 0s
Given I login into CTRP Registry 4s
When I navigate to a new National trial screen 0s
And I complete the remaining trial 40s
And I click the Save the Draft button 2s
And I navigate to Search Clinical Trials 0s
Then I search for 'Saved Drafts' with Identifier Type as NCT (Exact Match) with NCTID "NCT03091114" 2s
And I verify the search results are displayed successfully 2s
Given I login into CTRP Registry 4s
When I navigate to a new National trial screen 1s
And I complete the remaining trial 35s
And I click the Save the Draft button 4s
And I navigate to Search Clinical Trials 0s
Then I search for 'Saved Drafts' with Identifier Type as Lead Organization 1s
And I verify the search results for Lead Organization are displayed successfully 1s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
And I complete the remaining trial 26s + Show Error
Element is not currently visible and so may not be interacted with (Selenium::WebDriver::Error::ElementNotVisibleError) [remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:10092:in `fxdriver.preconditions.visible' [remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:12644:in `DelayedCommand.prototype.checkPreconditions_' [remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22481-1mb04pq/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:95:in `click' ./features/step_definitions/registry_ind_ide_info.rb:328:in `/^I complete the remaining trial$/' features/registry/ui/search_save_as_draft.feature:33:in `And I complete the remaining trial'
And I click the Save the Draft button
And I navigate to Search Clinical Trials
Then I search for 'Saved Drafts' with Identifier Type as Other Identifier "32123123321"
And I verify the search results are displayed successfully
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 0s
And I complete the remaining trial 27s
And I click the Save the Draft button 3s
And I navigate to Search Clinical Trials 0s
Then I search for 'Saved Drafts' with Organization Type as Lead Organization "Novartis" 3s
And I verify the search results are displayed successfully 2s
Given I login into CTRP Registry 4s
When I navigate to a new National trial screen 0s
And I complete the remaining trial 18s
And I click the Save the Draft button 3s
And I navigate to Search Clinical Trials 0s
Then I search for 'Saved Drafts' with Principal Investigator as "Barnett,Teresita" 1s
And I verify the search results for Principal Investigator are displayed successfully 2s
Given PA database connection is successfully 0s
And I am able to queary information_schema.columns to verify table name: "study_site_subject_accrual_count" and column name: "cutoff_date" 0s
Then the table name: "study_site_subject_accrual_count" and column name: "cutoff_date" returned from the information schema 0s
Given PA database connection is successfully 0s
And accrual count and cut-off date columns in the study_site_subject_accrual_count table should be present 0s
And get accrual count and cut-off date by providing NCT ID: "NCT00644878" 0s
Then accrual count and cut off date should be returned 0s
Given A Trial already exist in CTRP with NCT ID NCT03181399 3s
And I changed the date_created in ctgovimport_log table to have old Date as compare to CT.gov 0s
And I used the API rest service to Update NCT ID NCT03181399 4s
Then Verify the most recent record in ctgovimport_log table for below values 0s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 27s
When I click on "Eligibility Criteria" link 4s
Then Gender Based field is required 2s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 4s
And I click on "Eligibility Criteria" link 5s
When Sex is "Male" 1s
And Gender based study is Yes 0s
Then Gender Based eligibility description is available 5s
When Sex is "Female" 1s
And Gender based study is Yes 1s
Then Gender Based eligibility description is available 5s
When Sex is "All" 1s
Then Gender Based eligibility description is not available 5s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 5s
And I click on "Eligibility Criteria" link 3s
When Sex is "Male" 1s
And Gender based study is No 0s
Then Gender Based eligibility description is not available 5s
When Sex is "Female" 1s
And Gender based study is No 0s
Then Gender Based eligibility description is not available 5s
When Sex is "All" 1s
Then Gender Based eligibility description is not available 5s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 6s
And I click on "Eligibility Criteria" link 5s
Then Gender is changed to "Sex" 0s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 7s
And I click on "Eligibility Criteria" link 6s
Then these existing fields value should be updated 0s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 7s
When I click on "Eligibility Criteria" link 5s
Then I verify Gender Based and Gender Eligibility Description fields 7s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 7s
When I click on "Eligibility Criteria" link 6s
Then Gender Based field is required 2s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 6s
When I click on "Eligibility Criteria" link 5s
When Sex is "Male" 1s
And Gender based study is Yes 1s
Then Gender Based eligibility description is available 5s
When Sex is "Female" 1s
And Gender based study is Yes 0s
Then Gender Based eligibility description is available 5s
When Sex is "All" 0s
Then Gender Based eligibility description is not available 5s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 7s
When I click on "Eligibility Criteria" link 4s
When Sex is "Male" 1s
And Gender based study is No 0s
Then Gender Based eligibility description is not available 5s
When Sex is "Female" 1s
And Gender based study is No 0s
Then Gender Based eligibility description is not available 5s
When Sex is "All" 1s
Then Gender Based eligibility description is not available 5s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 7s
When I click on "Eligibility Criteria" link 5s
Then Gender is changed to "Sex" 0s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 6s
When I click on "Eligibility Criteria" link 5s
Then these existing fields value should be updated 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I click on "Eligibility Criteria" link 5s
Then I verify validations for accepts healthy volunteers "", sex "All", minimum age "10", maximum age "40", min unit "Years", max unit "Years", error message "AHVIndicator must be Entered" 3s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 4s
When I click on "Eligibility Criteria" link 4s
Then I verify validations for accepts healthy volunteers "No", sex "", minimum age "10", maximum age "40", min unit "Years", max unit "Years", error message "GenderCode must be Entered" 4s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 5s
When I click on "Eligibility Criteria" link 3s
Then I verify validations for accepts healthy volunteers "No", sex "All", minimum age "", maximum age "40", min unit "Years", max unit "Years", error message "Minimum Age must be Entered Please Enter a numeric value" 2s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 4s
When I click on "Eligibility Criteria" link 4s
Then I verify validations for accepts healthy volunteers "No", sex "All", minimum age "10", maximum age "", min unit "Years", max unit "Years", error message "Maximum Age must be Entered Please Enter a numeric value" 3s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 5s
When I click on "Eligibility Criteria" link 4s
Then I verify validations for accepts healthy volunteers "No", sex "All", minimum age "10", maximum age "40", min unit "", max unit "Years", error message "Unit must be Entered" 3s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 4s
When I click on "Eligibility Criteria" link 4s
Then I verify validations for accepts healthy volunteers "No", sex "All", minimum age "10", maximum age "40", min unit "Years", max unit "", error message "Unit must be Entered" 4s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-00331" 6s
When I click on "Eligibility Criteria" link 3s
And I enter all details except mandatory fields in Eligibility Criteria section(PA) 5s
Then I verify below error messages are displayed in Eligibility Criteria (PA) for mandatory fields 1s
Given I login into CTRP and search with NCI ID "NCI-2017-00331" 5s
And I click on "Eligibility Criteria" link 6s
When Sex is "Male" 1s
And Gender based study is Yes 0s
Then Gender Based eligibility description is available 5s
When Sex is "All" 1s
Then Gender Based eligibility description is not available 5s
When I click on save 2s
Then Gender Based eligibility description is not available 5s
Given I want to Import a trial into CTRP with NCT ID "NCT00724828" 14s
When I click on the Search Trials link 1s
And I click accept button in the trial validation screen 8s
Then I click on "Eligibility Criteria" link 3s
And I click on save button in Inclusion criteria page 5s
And Import the same trial into CTRP with NCT ID "NCT00724828" 7s
And verify the Acknowledgement is not generated in Trial History Update page 9s
Given I login into CTRP and search with NCI ID "NCI-2017-02788" 6s
When I click on "Eligibility Criteria" link 6s
Then I add a criteria 6s
And I verify the validation message "Display Order(s) exist: [1]" is not present 6s
And I connect to db and verify the record is saved in order 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02663" 4s
And I navigate to "Trial Validation" link 7s
And I provide the Amendment reason and click accept 5s
Then I connect to database and verify "Amendment Accepted" email is sent with correct body 0s
Given I login into CTRP Registry 18s
When I navigate to persons 4s
Then I search for a 'person' with ctep ID "549092" 3s
And I verify the person information is returned successfully 6s
Given I login into CTRP Registry 18s
When I navigate to organizations 6s
Then I search for a 'organization' with ctep ID "NY016" 3s
And I verify the organization information is returned successfully 7s
Given I login into CTRP Registry 18s
When I navigate to a Industrial/Other screen 3s
Then I import a trial "NCT01136031" from clinicaltrials.gov 10s
And I verify trial is imported successfully 0s
Then I add a participating site to the imported trial 16s
And I verify participating site is added successfully 11s + Show Error
Element not found in the cache - perhaps the page has changed since it was looked up (Selenium::WebDriver::Error::StaleElementReferenceError) [remote server] resource://fxdriver/modules/web-element-cache.js:9454:in `fxdriver.cache.getElementAt' [remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:9039:in `Utils.getElementAt' [remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:12189:in `WebElement.isElementDisplayed' [remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:12661:in `DelayedCommand.prototype.executeInternal_/h' [remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify' ./features/support/helper_methods.rb:386:in `is_element_displayed' ./features/support/helper_methods.rb:399:in `check_element_presence' ./features/step_definitions/registry_regression.rb:297:in `/^I verify participating site is added successfully$/' features/registry/ui/regression.feature:24:in `And I verify participating site is added successfully'
Given I login into CTRP Registry 3s
When I navigate to a Add Sites screen 1s
Then I search for a trial with NCI ID "NCI-2017-01002" 7s
When I click on add site button 1s
Then I add a site and click save 8s
And I verify the participating site is added successfully 5s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02625" and click on Change status 8s
Then I update the trial status and click on add status 8s
And I click on save button 5s
Then I connect to database and verify status of the trial is updated 0s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02625" and click on Verify data 9s
Then I save a data verification record 4s
And I connect to database and verify the verification date of the trial is updated 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I go to Regulatory Information section 6s
And "Trial Oversight Authority Country :" field is not displayed in Regulatory Information(Reg) screen 6s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 1s
Then I go to Regulatory Information section 5s
And "Trial Oversight Authority Organization Name :" field is not displayed in the Regulatory Information(Reg) screen 6s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to Regulatory Information section 5s
And the newly added fields with options should be there 8s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to Regulatory Information section 5s
And I select Yes for the field Studies a U.S. FDA-regulated Device Product 1s
Then the existing field Delayed Posting Indicator should be updated to "Unapproved/Uncleared Device :" 1s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
Then I go to Regulatory Information section 5s
And FDA Regulated Intervention Indicator field is No 2s
Then Section 801 Indicator field should not be visible 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I go to Regulatory Information section 6s
And FDA Regulated Intervention Indicator is Yes 2s
Then Section 801 Indicator field should be visible 0s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 1s
Then I go to Regulatory Information section 6s
And I select Yes for Studies a U.S. FDA-regulated Device Product field 1s
Then the field Pediatric Post-market Surveillance should be displayed 0s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 1s
Then I go to Regulatory Information section 6s
And I select No for Studies a U.S. FDA-regulated Device Product field 2s
Then the fields below should not be displayed 0s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 1s
Then I go to Regulatory Information section 5s
And I select Yes for Studies a U.S. FDA-regulated Device Product field 2s
When Unapproved/Uncleared Device is No 0s
Then Post Prior to U.S. FDA Approval or Clearance field is not visible 6s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I populate all the required fields 49s
And I save the "National" trial as draft 2s
Then "National" screen Saved as draft trial is created successfully 0s
And I verify Regulatory Information section fields are saved for "National" screen 1s
Given I login into CTRP Registry 2s
When I navigate to a new Externally Peer-Reviewed screen 1s
Then I populate all the required fields 47s
And I save the "Externally Peer-Reviewed" trial as draft 3s
Then "Externally Peer-Reviewed" screen Saved as draft trial is created successfully 0s
And I verify Regulatory Information section fields are saved for "Externally Peer-Reviewed" screen 1s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 0s
Then I populate all the required fields 52s
And I click on review trial and verify reg info fields are displayed on review trial page 10s
When I click on submit trial 5s
Then I verify National trial is created successfully 0s
When I login into CTRP and search for a trial with NCI ID 51s
Then I navigate to Regulatory Information screen 3s
And I verify the values are matching as in registry Reg Info section. 0s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02637" 7s
Then I navigate to Regulatory Information screen 7s
And I fill all details and click save in Regulatory Information Screen 12s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 18s
Then I navigate to Clinical Trials Section and search for NCI Id "NCI-2017-02637" 12s
And I verify the PA Reg Info fields entered are displayed in Registry Reg Info fields 8s
Given I login into CTRP and search for a trial with NCI ID "NCI-2017-02637" 38s
Then I navigate to Regulatory Information screen 7s
And I fill all details as No and click save in Regulatory Information Screen 9s
Then I verify confirm message "Message. Record Updated." is displayed 4s
When I login into CTRP Registry 18s
Then I navigate to Clinical Trials Section and search for NCI Id "NCI-2017-02637" 11s
And I verify the PA Reg Info values entered are displayed in Registry Reg Info fields 26s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
Then I populate all the required fields 1m 2s
And I save the "National" trial as draft 3s
Then "National" screen Saved as draft trial is created successfully 0s
And I verify the valid saved draft data with temporary id is returned by the rest service 0s
When I navigate to Clinical Trials Section and search for the saved draft id 12s
And I click on review trial 9s
And I click on submit trial in registry 4s
Then I verify the saved draft data with temporary id is deleted 6s
And I verify the submitted trial has valid data 1s
Given I login into CTRP Registry 18s
When I navigate to a new National trial screen 4s
Then I select each trial phase from the below list and verify 'Is this a Pilot?' has default value as '--Select--' 18s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-00327" and click on Amend 7s
Then I select each trial phase from the below list and verify 'Is this a Pilot?' has default value as '--Select--' 21s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02799" and click on Amend 5s
Then I select trial phase as "Early Phase I" and pilot value as "No" in amend page 12s
Then I click on review trial 4s
And I verify the 'Is this a Pilot?' field value on review trial page 0s
And I verify the 'Is this a Pilot?' field value on submit trial page 9s
And I connect to the database and verify the pilot value is updated 0s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02800" and click on Amend 5s
Then I select trial phase as "Early Phase I" and pilot value as "--Select--" in amend page 10s
Then I click on review trial 3s
And I verify the 'Is this a Pilot?' field value on review trial page 0s
And I verify the 'Is this a Pilot?' field value on submit trial page 7s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02801" and click on Amend 4s
Then I select trial phase as "NA" and pilot value as "Yes" in amend page 10s
Then I click on review trial 4s
And I verify the 'Is this a Pilot?' field value on review trial page 0s
And I verify the 'Is this a Pilot?' field value on submit trial page 6s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02802" and click on Amend 4s
Then I select trial phase as "NA" and pilot value as "No" in amend page 10s
Then I click on review trial 2s
And I verify the 'Is this a Pilot?' field value on review trial page 0s
And I verify the 'Is this a Pilot?' field value on submit trial page 7s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02803" and click on Amend 5s
Then I select trial phase as "NA" and pilot value as "--Select--" in amend page 9s
Then I click on review trial 3s
And I verify the 'Is this a Pilot?' field value on review trial page 0s
And I verify the 'Is this a Pilot?' field value on submit trial page 7s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02661" and click on update 4s
Then I verify phase value is "II" and pilot value is "Yes" 3s
And I click on review trial 2s
Then I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 4s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-00002" and click on update 5s
Then I verify phase value is "Early Phase I" and pilot value is "No" 5s
And I click on review trial 3s
Then I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 3s
And I connect to the database and verify the pilot value is updated 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-00332" and click on update 5s
Then I verify phase value is "I" and pilot value is "--Select--" 4s
And I click on review trial 4s
Then I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 5s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 1s
Then I click on non-interventional radio button 7s
Then I select each trial phase from the below list and verify 'Is this a Pilot?' has default value as '--Select--' 12s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02804" and click on Amend 4s
Then I select each trial phase from the below list and verify 'Is this a Pilot?' has default value as '--Select--' 18s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02806" and click on Amend 4s
Then I select trial phase as "NA" and pilot value as "No" in amend page 11s
Then I click on review trial 3s
And I verify the 'Is this a Pilot?' field value on review trial page 0s
And I verify the 'Is this a Pilot?' field value on submit trial page 7s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02807" and click on Amend 5s
Then I select trial phase as "NA" and pilot value as "--Select--" in amend page 8s
Then I click on review trial 2s
And I verify the 'Is this a Pilot?' field value on review trial page 0s
And I verify the 'Is this a Pilot?' field value on submit trial page 7s
And I connect to the database and verify the pilot value is updated 1s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02621" and click on update 5s
Then I verify phase value is "Early Phase I" and pilot value is "--Select--" 5s
And I click on review trial 2s
Then I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 3s
And I connect to the database and verify the pilot value is updated 0s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02815" 3s
Then I verify 'Is this a Pilot?' field value on trial details page 2s
And I navigate to search results page and click on update trial 3s
Then I verify the 'Is this a Pilot?' field value on update trial page 2s
Then I click on review trial 2s
And I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 3s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02824" 4s
Then I verify 'Is this a Pilot?' field value on trial details page 3s
And I navigate to search results page and click on update trial 3s
Then I verify the 'Is this a Pilot?' field value on update trial page 2s
Then I click on review trial 2s
And I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 3s
Given I login into CTRP Registry 3s
When I search for a trial "NCI-2017-02825" 3s
Then I verify 'Is this a Pilot?' field value on trial details page 3s
And I navigate to search results page and click on update trial 4s
Then I verify the 'Is this a Pilot?' field value on update trial page 1s
Then I click on review trial 2s
And I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 4s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02826" 2s
Then I verify 'Is this a Pilot?' field value on trial details page 3s
And I navigate to search results page and click on update trial 2s
Then I verify the 'Is this a Pilot?' field value on update trial page 2s
Then I click on review trial 2s
And I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 3s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02827" 4s
Then I verify 'Is this a Pilot?' field value on trial details page 2s
And I navigate to search results page and click on update trial 3s
Then I verify the 'Is this a Pilot?' field value on update trial page 2s
Then I click on review trial 2s
And I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 2s
Given I login into CTRP Registry 1s
When I search for a trial "NCI-2017-02828" 4s
Then I verify 'Is this a Pilot?' field value on trial details page 2s
And I navigate to search results page and click on update trial 3s
Then I verify the 'Is this a Pilot?' field value on update trial page 2s
Then I click on review trial 2s
And I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 3s
Given I login into CTRP Registry 2s
When I search for a trial "NCI-2017-02829" 3s
Then I verify 'Is this a Pilot?' field value on trial details page 2s
And I navigate to search results page and click on update trial 3s
Then I verify the 'Is this a Pilot?' field value on update trial page 2s
Then I click on review trial 3s
And I verify the 'Pilot?' field value on review trial page 2s
And I verify the 'Pilot?' field value on submit trial page 2s
Given I login into CTRP Registry 2s
When I click on search clinical page 0s
Then I Select pilot value as 'Yes' 1s
And I click on search all trials 4s
And I verify the trials with pilot value as 'Yes' are displayed 3s
Given I login into CTRP Registry 2s
When I click on search clinical page 0s
Then I Select pilot value as 'No' 1s
And I click on search all trials 5s
And I verify the trials with pilot value as 'No' are displayed 2s
Given I login into CTRP Registry 2s
When I click on search clinical page 1s
Then I Select pilot value as 'None' 1s
And I click on search all trials 7s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/registry/search_clinical_trials.rb:32:in `search_which_trial'
./features/step_definitions/trial_details.rb:131:in `/^I click on search all trials$/'
features/registry/ui/trial_details.feature:360:in `And I click on search all trials'
And I verify the trials with pilot value as 'None' are displayed
Given I login into CTRP Registry 2s
When I click on search clinical page 0s
Then I Select pilot value as '--Select--' and Purpose as "Treatment" 2s
And I click on search all trials 6s
And I verify the trials with pilot value 'Yes' , 'No' and 'None' are displayed 3s
Given I login into CTRP Registry 2s
When I navigate to Clinical Trials Section and search for title "PILOT_test" with pilot value "Yes" 7s
Then I verify only trials with pilot value with Yes are displayed 3s
Given I login into CTRP Registry 2s
When I navigate to Clinical Trials Section and search for title "PILOT_test" with pilot value "No" 5s
Then I verify only trials with pilot value with No are displayed 4s
Given I login into CTRP Registry 2s
When I navigate to Clinical Trials Section and search for title "PILOT_test" with pilot value "None" 4s
Then I verify only trials with pilot value with None are displayed 3s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
And I select base trial status as "In Review" with validation "V(valid)" 10s
When I switch to below trial status, following validations should be there 1m 10s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
And I select base trial status as "Approved" with validation "W(In Review)" 10s
When I switch to below trial status, following validations should be there 1m 5s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
And I select base trial status as "Withdrawn" with validation "W(In Review);W(Approved)" 9s
When I switch to below trial status, following validations should be there 1m 3s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
And I select base trial status as "Active" with validation "W(In Review);W(Approved)" 9s
When I switch to below trial status, following validations should be there 1m 9s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
And I select base trial status as "Enrolling by Invitation" with validation "W(In Review);W(Approved)" 9s
When I switch to below trial status, following validations should be there 53s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
And I select base trial status as "Closed to Accrual" with validation "W(In Review);W(Approved)" 8s
When I switch to below trial status, following validations should be there 1m 0s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
And I select base trial status as "Closed to Accrual and Intervention" with validation "W(In Review);W(Approved)" 9s
When I switch to below trial status, following validations should be there 1m 2s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
And I select base trial status as "Temporarily Closed to Accrual" with validation "W(In Review);W(Approved)" 8s
When I switch to below trial status, following validations should be there 48s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 0s
And I select base trial status as "Temporarily Closed to Accrual and Intervention" with validation "W(In Review);W(Approved);W(Temporarily Closed to Accrual)" 9s
When I switch to below trial status, following validations should be there 1m 2s
Given I login into CTRP Registry 2s
When I navigate to a new National trial screen 1s
And I select base trial status as "Complete" with validation "W(In Review);W(Approved);W(Closed to Accrual and Intervention)" 9s
When I switch to below trial status, following validations should be there 1m 2s
Given I login into CTRP Registry 3s
When I navigate to a new National trial screen 1s
And I select base trial status as "Administratively Complete" with validation "W(In Review);W(Approved);W(Active);W(Closed to Accrual);W(Closed to Accrual and Intervention)" 9s
When I switch to below trial status, following validations should be there 1m 1s
Given I login into CTRP Registry 1s
When I navigate to a new National trial screen 0s
Then I enter all the required fields in Registry screen for "new" trial 32s
And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 35s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/registry/register_trial.rb:656:in `click_edit'
./features/step_definitions/registry_reg_info.rb:875:in `block (3 levels) in (top (required))'
./features/step_definitions/registry_reg_info.rb:866:in `each'
./features/step_definitions/registry_reg_info.rb:866:in `block (2 levels) in (top (required))'
./features/step_definitions/registry_reg_info.rb:864:in `each'
./features/step_definitions/registry_reg_info.rb:864:in `/^for below status "([^"]*)", trial start date when selected as "([^"]*)" then "([^"]*)" should be$/'
features/registry/ui/trial_status.feature:128:in `And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be'
Given I login into CTRP Registry 2s
And I search for a trial "NCI-2018-02982" and click on update 4s
Then It shall take to the Update Trial page 3s
And I delete all existing status 1s
And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 1m 48s
Given I login into CTRP Registry 2s
And I search for a trial "NCI-2018-02983" and click on update 3s
Then It shall take to the Update Trial page 4s
And I delete all existing status 1s
And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 1m 33s
Given I login into CTRP Registry 1s
And I search for Trial with NCI ID "NCI-2018-02981" 2s
And I select to Amend the Trial 0s
Then It shall take to the Amend Trial page 4s
And I enter all the required fields for "Amendment" 1s
And I delete all existing status 2s
And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 2m 4s
Given I login into CTRP Registry 2s
And I search for Trial with NCI ID "NCI-2018-02984" 3s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 6s
And I enter all the required fields for "Amendment" 1s
And I delete all existing status 1s
And for below status "Status", trial start date when selected as "Anticipated" then "Validation" should be 2m 10s
Given I login into CTRP Registry 2s
And I search for a trial "NCI-2018-02992" and click on update 2s
Then It shall take to the Update Trial page 2s
And from "Approved" status to below "Status", trial start date when selected as "Anticipated" then "Validation" should be 1m 33s
Then I submit the Trial with "Active" status 7s
Given I login into CTRP Registry 1s
And I search for Trial with NCI ID "NCI-2018-02985" 3s
And I select to Amend the Trial 0s
Then It shall take to the Amend Trial page 5s
And I enter all the required fields for "Amendment" 1s
And from "Approved" status to below "Status", trial start date when selected as "Anticipated" then "Validation" should be 1m 49s
Then I submit the Trial with "Active" status 13s
Given I login into CTRP Registry 2s
And I search for a trial "NCI-2018-02990" and click on update 2s
Then It shall take to the Update Trial page 2s
And from "Approved" status to below "Status", trial start date when selected as "Actual" then "Validation" should be 1m 57s
Then I submit the Trial with "Active" status 0s + Show Error
arguments[0] is undefined (Selenium::WebDriver::Error::JavascriptError) [remote server] https://trials-int.nci.nih.gov/registry/protected/updateTrialedit.action line 69 ) Function:1:in `anonymous' [remote server] https://trials-int.nci.nih.gov/registry/protected/updateTrialedit.action:69:in `handleEvaluateEvent' ./features/support/helper_methods.rb:127:in `click_forcefully' ./features/support/registry/register_trial.rb:401:in `delete_status' ./features/support/registry/trial_status_helper.rb:136:in `delete_status' ./features/step_definitions/registry_reg_info.rb:987:in `/^I submit the Trial with "([^"]*)" status$/' features/registry/ui/trial_status.feature:198:in `Then I submit the Trial with "Active" status'
Given I login into CTRP Registry 1s
And I search for Trial with NCI ID "NCI-2018-02991" 2s
And I select to Amend the Trial 1s
Then It shall take to the Amend Trial page 4s
And I enter all the required fields for "Amendment" 1s
And from "Approved" status to below "Status", trial start date when selected as "Actual" then "Validation" should be 17s + Show Error
Timed out waiting for page load. (Selenium::WebDriver::Error::TimeOutError)
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:9372:in `Utils.installClickListener/e('
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:5142:in `WebLoadingListener/e'
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:5150:in `WebLoadingListener/('
[remote server] file:///tmp/webdriver-profile20180511-22482-r14wuf/extensions/fxdriver@googlecode.com/components/command-processor.js:625:in `fxdriver.Timer.prototype.setTimeout/(.notify'
./features/support/helper_methods.rb:95:in `click'
./features/support/registry/register_trial.rb:656:in `click_edit'
./features/step_definitions/registry_reg_info.rb:962:in `block (3 levels) in (top (required))'
./features/step_definitions/registry_reg_info.rb:919:in `each'
./features/step_definitions/registry_reg_info.rb:919:in `block (2 levels) in (top (required))'
./features/step_definitions/registry_reg_info.rb:917:in `each'
./features/step_definitions/registry_reg_info.rb:917:in `/^from "([^"]*)" status to below "([^"]*)", trial start date when selected as "([^"]*)" then "([^"]*)" should be$/'
features/registry/ui/trial_status.feature:207:in `And from "Approved" status to below "Status", trial start date when selected as "Actual" then "Validation" should be'
Then I submit the Trial with "Active" status
Given I click to view tsr of "NCI-2017-02716" 31s
Then the field "Trial Oversight Authority Country" should not be present 6s
Given I click to view tsr of "NCI-2017-02716" 0s
Then the field "Trial Oversight Authority Organization Name" should not be present 5s
Given I click to view tsr of "NCI-2017-02716" 0s
Then the field "Studies a U.S. FDA-regulated Drug Product" should be present 5s
And the field "Studies a U.S. FDA-regulated Drug Product" should have a value as "No Data Available" 5s
And I verify "fda_regulated_device" is nil in dynamo db 6s
Given I click to view tsr of "NCI-2017-02716" 0s
Then the field "Studies a U.S. FDA-regulated Device Product" should be present 5s
And the field "Studies a U.S. FDA-regulated Device Product" should have a value as "No Data Available" 5s
And I verify "fda_regulated_drug" is nil in dynamo db 6s
Given I click to view tsr of "NCI-2017-02714" 5s
Then the field "Delayed Posting Indicator" should not be present 4s
And the field "Unapproved/Uncleared Device" should be present 4s
And the field "Unapproved/Uncleared Device?" should have a value as "No Data Available" 5s
Given I click to view tsr of "NCI-2017-02715" 5s
Then the field "Post Prior to U.S. FDA Approval or Clearance" should be present 5s
And the field "Post Prior to U.S. FDA Approval or Clearance" should have a value as "No Data Available" 4s
Given I click to view tsr of "NCI-2017-02714" 0s
Then the field "Pediatric Post-market Surveillance" should be present 5s
And the field "Pediatric Post-market Surveillance (of a Device Product)" should have a value as "No Data Available" 4s
Given I click to view tsr of "NCI-2017-02716" 0s
Then the field "Product Exported from the U.S" should be present 4s
And the field "Product Exported from the U.S" should have a value as "No Data Available" 4s
And I verify "exported_from_us" is nil in dynamo db 6s
Given I click to view tsr of "NCI-2017-02712" 5s
Then the field "Studies a U.S. FDA-regulated Drug Product" should have a value as "Yes" 5s
And the field "Studies a U.S. FDA-regulated Device Product" should have a value as "Yes" 4s
And the field "Unapproved/Uncleared Device?" should have a value as "Yes" 4s
And the field "Post Prior to U.S. FDA Approval or Clearance" should have a value as "Yes" 4s
And the field "Pediatric Post-market Surveillance (of a Device Product)" should have a value as "Yes" 4s
And the field "Product Exported from the U.S" should have a value as "Yes" 4s
And the field "FDA Regulated Intervention?" should have a value as "Yes" 5s
And the field "Section 801?" should have a value as "Yes" 4s
And the field "DMC Appointed?" should have a value as "Yes" 4s
Given I click to view tsr of "NCI-2017-02713" 4s
Then the field "Studies a U.S. FDA-regulated Drug Product" should have a value as "No" 4s
And the field "Studies a U.S. FDA-regulated Device Product" should have a value as "No" 4s
And the field "Unapproved/Uncleared Device?" should not be present 4s
And the field "Post Prior to U.S. FDA Approval or Clearance" should not be present 4s
And the field "Pediatric Post-market Surveillance (of a Device Product)" should not be present 5s
And the field "Product Exported from the U.S" should have a value as "No" 4s
And the field "FDA Regulated Intervention?" should have a value as "No" 4s
And the field "Section 801?" should not be present 4s
And the field "DMC Appointed?" should have a value as "No" 4s
Given I click to view tsr of "NCI-2017-02714" 0s
Then the field "Studies a U.S. FDA-regulated Device Product" should have a value as "Yes" 4s
And the field "Unapproved/Uncleared Device?" should have a value as "No Data Available" 5s
And the field "Pediatric Post-market Surveillance (of a Device Product)" should have a value as "No Data Available" 5s
Then I verify "delayed_posting_indicator" field is null in database 0s
And I verify "ped_postmarket_surv" is nil in dynamo db 6s
Given I click to view tsr of "NCI-2017-02715" 0s
Then the field "Unapproved/Uncleared Device?" should have a value as "Yes" 5s
And the field "Post Prior to U.S. FDA Approval or Clearance" should have a value as "No Data Available" 4s
And I verify "post_prior_to_approval" is nil in dynamo db 6s
Given I click to view tsr of "NCI-2017-02715" 0s
And the field "FDA Regulated Intervention?" should have a value as "Yes" 4s
And the field "Section 801?" should have a value as "No Data Available" 4s
And I verify "section801_indicator" field is null in database 0s
Given I click to view tsr of "NCI-2017-02681" 4s
Then the value of Prinicipal Investigator should be "Barnett, Teresita" 4s
And the value "Barnett, Teresita affiliated with Novartis Pharmaceuticals" should not be present 5s
Given I click to view tsr of "NCI-2017-02681" 0s
Then the value for Overall Official should be "Barnett, Teresita (Principal Investigator), Novartis Pharmaceuticals" 4s
And the value "Barnett, Teresita affiliated with Novartis Pharmaceuticals in the role of Principal Investigator" should not be present 4s
Given I click to view tsr of "NCI-2017-02719" 5s
Then the field "Model Description" should be present 4s
Given I click to view tsr of "NCI-2017-02719" 0s
Then the field "Masking Description" should be present 4s
Given I click to view tsr of "NCI-2017-02719" 0s
Then the field "Study Classification" should not be present 4s
Given I click to view tsr of "NCI-2017-02720" 5s
Then the field "Device Feasibility" should be present 5s
Given I click to view tsr of "NCI-2017-02720" 0s
Then the field "Interventional Model" should not be present 5s
And the field "Interventional Study Model" should be present 4s
And the field "Sequential Assignment" should be present 4s
Given I click to view tsr of "NCI-2017-02719" 0s
Then the field "Early Phase I" should be present 5s
Given I click to view tsr of "NCI-2017-02719" 0s
Then the field "Masking Roles" should not be present 4s
And the field "Masking" should be present 4s
Given I click to view tsr of "NCI-2017-02720" 0s
Then the field "Subject:" should not be present 4s
And the field "Participant" should be present 5s
And the field "Caregiver" should not be present 4s
And the field "Care Provider" should be present 4s
Given I click to view tsr of "NCI-2017-02720" 0s
Then the field "Masking Description" should have a value as "No Data Available" 4s
And the field "Model Description" should have a value as "No Data Available" 4s
And I verify "Masking Description" is nil in dynamo db 6s
And I verify "Model Description" is nil in dynamo db 6s
Given I click to view tsr of "NCI-2017-02721" 5s
Then the field "Expanded Access Record" should be present 4s
And the field "Expanded Access type" should not be present 5s
And the field "Expanded Access Record" value is displayed as "" when Availability of Expanded Access is "Unknown" 8s
Given I click to view tsr of "NCI-2017-02745" 5s
And the field "Expanded Access Record" value is displayed as "" when Availability of Expanded Access is "No" 9s
Given I click to view tsr of "NCI-2017-02746" 5s
And the field "Expanded Access Record" value is displayed as "No Data Available" when Availability of Expanded Access is "Yes" 9s
Given I click to view tsr of "NCI-2017-02721" 0s
Then the field "Exempt Indicator" should not be present 4s
Given I click to view tsr of "NCI-2017-02721" 0s
Then the field "Availability of Expanded Access" should be present 4s
And the field "Has Expanded Access" should not be present 4s
Given I click to view tsr of "NCI-2017-02721" 0s
Then the field "Availability of Expanded Access" should have a valid value as "Unknown" 9s
And I Connect to the database and verify "Availability of Expanded Access" is updated 1s
Given I click to view tsr of "NCI-2017-02722" 4s
Then the field "Gender Based" should be present 4s
Given I click to view tsr of "NCI-2017-02720" 0s
Then the field "Gender Based" should not be present 4s
Given I click to view tsr of "NCI-2017-02722" 0s
Then the field "Gender Eligibility Description" should be present 4s
And I verify "gender_description" is saved in dynamo db 0s
Given I click to view tsr of "NCI-2017-02723" 5s
Then the field "Gender Eligibility Description" should not be present 4s
And I verify "gender_description" is nil in dynamo db 6s
Given I click to view tsr of "NCI-2017-02720" 0s
Then the field "Sex" should be present 4s
And the field "Gender" should not be present 5s
Given I click to view tsr of "NCI-2017-02724" 5s
Then the field "Sex" should have a value as "All" 5s
And the value "Both" should not be present 6s
Given I click to view tsr of "NCI-2017-02725" 4s
Then the old field "Safety Issue?" should not be present 2s
Given I click to view tsr of "NCI-2017-02725" 0s
Then the value "11/27/2016" should be present 4s
Given I click to view tsr of "NCI-2017-02725" 0s
Then the value "05/02/2017" should be present 4s
Given I click to view tsr of "NCI-2017-02725" 0s
Then the value "08/09/2017" should be present 4s
Given I click to view tsr of "NCI-2017-02726" 4s
Then the value "05/01/2016" should be present 4s
Given I click to view tsr of "NCI-2017-02762" 4s
Then the value "Unapproved/Uncleared Device?" should not be present 4s